The STN_DBLCLK notification message is sent when the user double-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_DBLCLK
idStatic = (int) LOWORD(wParam); // identifier of static control
hwndStatic = (HWND) LOWORD(lParam); // handle to static control
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Static Controls Overview, Static Control Notification Messages, STN_CLICKED, WM_COMMAND