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 of static control

See Also

STN_DBLCLK, WM_COMMAND