This notification 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 notification message through the WM_COMMAND message.
If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDOK notification message is not sent.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
CBN_SELENDOK idComboBox = (int)LOWORD(wParam);
hwndComboBox = (HWND) lParam;
Parameters
idComboBox
Identifier of the combo box.
hwndComboBox
Handle to the combo box.
Remarks
In a combo box with the CBS_SIMPLE style, the CBN_SELENDOK notification message is sent immediately before every CBN_SELCHANGE notification message.
If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDOK notification message is not sent.
See Also