CBN_SELENDCANCEL
Collapse the table of content
Expand the table of content

CBN_SELENDCANCEL notification code

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 notification code through the WM_COMMAND message.


CBN_SELENDCANCEL

    WPARAM wParam;
    LPARAM lParam; 

Parameters

wParam

The LOWORD contains the control identifier of the combo box. The HIWORD specifies the notification code.

lParam

Handle to the combo box.

Remarks

In a combo box with the CBS_SIMPLE style, the CBN_SELENDCANCEL notification code is not sent. The CBN_SELENDOK notification code is sent immediately before every CBN_SELCHANGE notification code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
CBN_SELCHANGE
CBN_SELENDOK
Other Resources
HIWORD
LOWORD
WM_COMMAND

 

 

Show:
© 2016 Microsoft