Programming |  Windows Programming |  BN_DISABLE

BN_DISABLE

Sent when a button is disabled.

Note This notification message is provided only for compatibility with 16-bit versions of Microsoft Windows earlier than version 3.0. Applications should use the BS_OWNERDRAW button style and the DRAWITEMSTRUCT structure for this task.

The parent window of the button receives the BN_DISABLE notification code through the WM_COMMAND message.

Syntax

BN_DISABLE

    WPARAM wParam
    LPARAM lParam;
    Parameters

wParam The low-order word contains the button's control identifier. The high-order word specifies the notification message. lParam Handle to the button. = Return Value = No return value.

Notification Requirements