CBN_SELENDCANCEL
This notification message is sent when the user selects an item, but then selects another control or closes the dialog box. It indicates the users initial selection is to be ignored. 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_SELENDCANCEL notification message is not sent.
CBN_SELENDCANCEL 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_SELENDCANCEL notification message is not sent. 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_SELENDCANCEL notification message is not sent.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Winuser.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.