Partager via


WM_SETFOCUS (Windows CE 5.0)

Send Feedback

This message is sent to a window after it has gained the keyboard focus.

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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

SetFocus | WM_KILLFOCUS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.