CBN_SELCHANGE notification code
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;
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
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
-
Reference
-
Other Resources
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre