Share via


LBN_SETFOCUS

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.

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

Parameters

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

Return Values

None.

Requirements

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

See Also

LBN_KILLFOCUS | WM_COMMAND | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.