EN_SETFOCUS (Compact 2013)

3/28/2014

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

See Also

Reference

Edit Box Messages
EN_KILLFOCUS
WM_COMMAND