Partager via


LBN_SETFOCUS (Compact 2013)

3/28/2014

This message is sent by an application when a list box receives the keyboard focus. The parent window of the list box receives this message through the WM_COMMAND message.

Syntax

LBN_SETFOCUS idListBox = (int)LOWORD(wParam);
    hwndListBox = (HWND) lParam;

Parameters

  • idListBox
    Identifier of the list box.
  • hwndListBox
    Handle to the list box.

Return Value

None.

Requirements

Header

winuser.h

See Also

Reference

List Box Messages
LBN_KILLFOCUS
WM_COMMAND