This message is sent to a window after it has gained the keyboard focus.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
WM_SETFOCUS hwndLoseFocus = (HWND) wParam;
Parameters
hwndLoseFocus
Handle to the window that has lost the keyboard focus. This parameter can be NULL.
Return Values
An application should return zero if it processes this message.
Remarks
To display a caret, an application should call the appropriate caret functions when it receives the WM_SETFOCUS message.
See Also