[Win32API] Interactive Static Text?

how do I make something happen when I click on Static Text/Control ?
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.
thanks! :)
Topic archived. No new replies allowed.