Programming |  Windows Programming |  BN_CLICKED

BN_CLICKED

Sent when the user clicks a button.

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

Syntax

    BN_CLICKED
        WPARAM wParam
        LPARAM lParam;

Parameters

Return Value

No return value.

Remarks

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

Notification Requirements