STN_ENABLE notification code

The STN_ENABLE notification code is sent when a static control is enabled. The static control must have the SS_NOTIFY style to receive this notification code. The parent window of the control receives this notification code through the WM_COMMAND message.

STN_ENABLE

    WPARAM wParam;
    LPARAM lParam; 

Parameters

wParam

The LOWORD contains the identifier of the static control. The HIWORD specifies the notification code.

lParam

Handle to the static control.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

STN_DISABLE

Conceptual

Static Controls

Other Resources

HIWORD

LOWORD

WM_COMMAND