LBN_SELCHANGE notification code
Notifies the application that the selection in a list box has changed as a result of user input. The parent window of the list box receives this notification code through the WM_COMMAND message.
LBN_SELCHANGE
WPARAM wParam;
LPARAM lParam;
Parameters
- wParam
-
The LOWORD contains the identifier of the list box. The HIWORD specifies the notification code.
- lParam
-
Handle to the list box.
Remarks
This notification code is sent only by a list box that has the LBS_NOTIFY style.
This notification code is not sent if the LB_SETSEL, LB_SETCURSEL, LB_SELECTSTRING, LB_SELITEMRANGE or LB_SELITEMRANGEEX message changes the selection.
For a multiple-selection list box, the LBN_SELCHANGE notification code is sent whenever the user presses an arrow key, even if the selection does not change.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- LB_SETCURSEL
- LBN_DBLCLK
- LBN_SELCANCEL
- Other Resources
- WM_COMMAND
Send comments about this topic to Microsoft
Build date: 10/27/2012
