BN_DISABLE notification code

Sent when a button is disabled.

Note  This notification code is provided only for compatibility with 16-bit versions of 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 this notification code through the WM_COMMAND message.


BN_DISABLE

    WPARAM wParam;
    LPARAM lParam;

Parameters

wParam

The LOWORD contains the button's control identifier. The HIWORD specifies the notification code.

lParam

Handle to the button.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft