hello
well im a lil confused here. i cant get the BN_PUSHED
hooked up.
BEGIN_MSG_MAP(CBarreWindow)
MESSAGE_HANDLER(WM_COMMAND, OnCommand)
END_MSG_MAP()
LRESULT OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
WORD hi = HIWORD(wParam);
WORD lo = LOWORD(wParam);
if( hi == BN_PUSHED)
if( lo == IDC_BUTTON_LEFT )
//do something with pushed button
return 0;
}
thanks for your help if any!