Programming |  Windows Programming |  bn_hilite

 BN_HILITE

Sent when the user selects a button.

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

Syntax

    BN_HILITE
        WPARAM wParam
        LPARAM lParam;

Parameters

Return Value

No return value.

Remarks

BN_HILITE is the same as the BN_PUSHED notification message.

Notification Requirements