Programming |  Windows Programming |  BN_PUSHED

BN_PUSHED

Sent when the push state of a button is set to pushed.

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_PUSHED notification code through the WM_COMMAND message.

Syntax

    BN_PUSHED
        WPARAM wParam
        LPARAM lParam;

Parameters

Return Value

No return value.

Remarks

BN_PUSHED is the same as the BN_HILITE notification message.

Notification Requirements