EN_SETFOCUS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message indicates that an edit control received the keyboard focus. The parent window of the edit control receives this message through the WM_COMMAND message.

Syntax

EN_SETFOCUS 
    idEditCtrl = (int) LOWORD (wParam);
    wNotifyCode = HIWORD (wParam); 
    hwndEditCtrl = (HWND) lParam;

Parameters

  • idEditCtrl
    Value of the low-order word of wParam. Contains an identifier of the edit control.
  • wNotifyCode
    Value of the high-order word of wParam. Contains the notification code.
  • hwndEditCtrl
    Handle to the edit control.

Return Value

None.

Requirements

Header windows.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

EN_KILLFOCUS
WM_COMMAND
Edit Boxes Messages