[Win32API] Interactive Static Text?

mekkatorqu (226)
how do I make something happen when I click on Static Text/Control ?
webJose (2947)
The parent window's window procedure receives a WM_COMMAND message with the notification code STN_CLICKED in the high word of wParam as explained in http://msdn.microsoft.com/en-us/library/windows/desktop/bb760769(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/bb760784(v=vs.85).aspx .

Note that the static control must have the SS_NOTIFY style, just like the documentation says.
mekkatorqu (226)
thanks! :)
Registered users can post here. Sign in or register to post.