I needed about 1h to find this out :(
Perhaps usefull for someone who want's to make a hyperlink control or something like this:



.elseif uMsg == WM_COMMAND
mov eax, wParam
shr eax, 16

.if eax == STN_CLICKED

.if wParam == OB_INBOX ; OB_INBOX equ 1000
invoke MessageBox, 0, addr szInbox, 0, 0

.elseif wParam == OB_OUTBOX ; OB_OUTBOX equ 1001
invoke MessageBox, 0, addr szOutbox, 0, 0

.endif

.endif




STN_CLICKED

The STN_CLICKED notification message is sent when the user clicks a
static control that has the SS_NOTIFY style. The parent window of
the control receives this notification message through the WM_COMMAND message.


STN_CLICKED
idStatic = (int) LOWORD(wParam); // identifier of static control
hwndStatic = (HWND) LOWORD(lParam); // handle to static control

Posted on 2001-09-29 14:42:56 by bazik
...what took you so long? :grin:
Posted on 2001-09-29 20:01:38 by Tola
to get the loword :)

:stupid:
Posted on 2001-09-29 20:18:08 by bazik