Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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_COMMANDmessage.

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also