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
- wParam
The low-order word contains the button's control identifier. The high-order word specifies the notification message.
lParam
A handle to the button.
Return Value
No return value.
Notification Requirements
- Minimum DLL Version None
- Header Declared in Winuser.h, include Windows.h
- Minimum operating systems Windows 95, Windows NT 3.51