Prev Next

CBN_DBLCLK Overview  Group

The CBN_DBLCLK notification 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 notification message through the WM_COMMAND message.

CBN_DBLCLK 

idComboBox = (int) LOWORD(wParam);  // identifier of combo box 

hwndComboBox = (HWND) lParam;       // handle of combo box 

 

Remarks

This notification 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.

See Also

CBN_SELCHANGE, WM_COMMAND