Programming |  Windows Programming |  BN_SETFOCUS

BN_SETFOCUS

Sent when a button receives the keyboard focus. The button must have the BS_NOTIFY style to send this notification message.

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

Syntax

    BN_SETFOCUS
        WPARAM wParam
        LPARAM lParam;

Parameters

Return Value

No return value.

Notification Requirements