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 clicks a list item, or selects an item and then closes the list. It indicates the user's selection is to be processed. The parent window of the combo box receives this message through the WM_COMMANDmessage.

If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDOK message is not sent.

Syntax

CBN_SELENDOK 
idComboBox = (int)LOWORD(
wParam); 

hwndComboBox = (HWND) 
lParam;

Parameters

idComboBox

Identifier of the combo box.

hwndComboBox

Handle to the combo box.

Return Value

None.

Remarks

In a combo box with the CBS_SIMPLE style, the CBN_SELENDOK message is sent immediately before every CBN_SELCHANGE message.

If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDOK message is not sent.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also