Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BN_CLICKED notification code

Sent when the user clicks a button.

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


BN_CLICKED

    WPARAM wParam;
    LPARAM lParam;

Parameters

wParam

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

lParam

A handle to the button.

Remarks

A disabled button does not send a BN_CLICKED notification code to its parent window.

Requirements

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

Other Resources
HIWORD
LOWORD
WM_COMMAND

 

 

Community Additions

ADD
Show:
© 2015 Microsoft