BN_SETFOCUS notification code
Sent when a button receives the keyboard focus. The button must have the BS_NOTIFY style to send this notification code.
The parent window of the button receives this notification code through the WM_COMMAND message.
BN_SETFOCUS
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for