EN_SETFOCUS notification code
Sent when an edit control receives the keyboard focus. The parent window of the edit control receives this notification code through a WM_COMMAND message.
EN_SETFOCUS
WPARAM wParam;
LPARAM lParam;
Parameters
-
wParam
-
The LOWORD contains the identifier of the edit control. The HIWORD specifies the notification code.
-
lParam
-
A handle to the edit control.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
-
Reference
-
Other Resources