Sent when an edit control receives the keyboard focus. The parent window of the edit control receives this notification message through a WM_COMMAND message.
Syntax
EN_SETFOCUS
WPARAM wParam
LPARAM lParam;
Parameters
- wParam
-
The low-order word specifies the edit control identifier.
The high-order word specifies the notification message.
- lParam
-
A handle to the edit control.
Return Value
No return value.
Remarks
The parent window always receives a WM_COMMAND message for this event, it does not require a notification mask sent with EM_SETEVENTMASK.
Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.
Notification Requirements
| Minimum DLL Version |
None |
|---|
| Header | Declared in Winuser.h, include Windows.h |
|---|
| Minimum operating systems |
Windows 95, Windows NT 3.1 |
|---|
See Also