CBN_DBLCLK (Compact 2013)

3/28/2014

This message is sent when the user double-clicks a string in the list box of a combo box. The parent window of the combo box receives this message through the WM_COMMAND message.

Syntax

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

Parameters

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

Return Value

None.

Remarks

This message occurs only for a combo box with the CBS_SIMPLE style. In a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style, a double-click cannot occur because a single click closes the list box.

Requirements

Header

winuser.h

See Also

Reference

Combo Box Messages
SendMessage
CBN_SELCHANGE
WM_COMMAND