CBN_SELENDCANCEL
A version of this page is also available for
4/8/2010
This message is sent when the user selects an item, but then selects another control or closes the dialog box. It indicates the user's initial selection is to be ignored. The parent window of the combo box receives this message through the WM_COMMAND message.
If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDCANCEL message is not sent.
Syntax
CBN_SELENDCANCEL idComboBox = (int)LOWORD(wParam);
hwndComboBox = (HWND) lParam;
Parameters
- idComboBox
Identifier of the combo box.
- hwndComboBox
Handle to the combo box.
Return Value
None.
Remarks
If the WS_EX_NOPARENTNOTIFY extended window style is specified for the combo box, the CBN_SELENDCANCEL 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 |