Partager via


CBN_SETFOCUS (Compact 2013)

3/28/2014

This message is sent when a combo box receives the keyboard focus. The parent window of the combo box receives this message through the WM_COMMAND message.

Syntax

CBN_SETFOCUS idComboBox = (int)LOWORD(wParam); 
    hwndComboBox = (HWND) lParam;

Parameters

  • idComboBox
    Identifier of the combo box.
  • hwndComboBox
    Handle to the combo box.

Return Value

None.

Requirements

Header

winuser.h

See Also

Reference

Combo Box Messages
SendMessage
CBN_KILLFOCUS
WM_COMMAND