Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sent when the user changes the current selection in the list box of a combo box. The user can change the selection by clicking in the list box or by using the arrow keys. The parent window of the combo box receives this notification code in the form of a WM_COMMAND message.
CBN_SELCHANGE
WPARAM wParam;
LPARAM lParam;
wParam
The LOWORD contains the control identifier of the combo box. The HIWORD specifies the notification code.
lParam
Handle to the combo box.
To get the index of the current selection, send the CB_GETCURSEL message to the control.
The CBN_SELCHANGE notification code is not sent when the current selection is set using the CB_SETCURSEL message.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
Reference
Other Resources
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today