EDIT: Just realized i was in the wrong forum. Sorry
.ELSEIF uMsg==WM_COMMAND
mov eax,wParam
.IF ax==blahblah
blabla
.ELSEIF ax==WM_LBUTTONDOWN
invoke Beep,NULL,NULL
I get no Beep with this code when i left clickin in the client area.
The Win32 api states the WM_LBUTTONDOWN message is sent in WM_COMMAND.
maybe i don't have something else set?
Any help appreciated.:confused:
.ELSEIF uMsg==WM_COMMAND
mov eax,wParam
.IF ax==blahblah
blabla
.ELSEIF ax==WM_LBUTTONDOWN
invoke Beep,NULL,NULL
I get no Beep with this code when i left clickin in the client area.
The Win32 api states the WM_LBUTTONDOWN message is sent in WM_COMMAND.
maybe i don't have something else set?
Any help appreciated.:confused:
Try this
.ELSEIF uMsg==WM_COMMAND
mov eax,wParam
.IF ax==blahblah
blabla
.ENDIF
.ELSEIF uMsg==WM_LBUTTONDOWN
invoke Beep,NULL,NULL