EN_SETFOCUS

This notification message is sent when an edit control receives the keyboard focus. The parent window of the edit control receives this notification message through the WM_COMMAND message.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

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

Parameters

idEditCtrl

Value of the low-order word of wParam. Identifier of the edit control.

wNotifyCode

Value of the high-order word of wParam. Notification code.

hwndEditCtrl

Handle to the edit control.

See Also

EN_KILLFOCUS, WM_COMMAND