Compartir a través de


CBN_SELENDCANCEL (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Combo Boxes Messages
SendMessage
CBN_SELENDOK
WM_COMMAND