다음을 통해 공유


CBN_SELCHANGE (Windows CE 5.0)

Send Feedback

This message is sent when the selection in the list box of a combo box is about to be changed as a result of the user either clicking in the list box or changing the selection by using the arrow keys. The parent window of the combo box receives this message through the WM_COMMAND message.

CBN_SELCHANGEidComboBox=(int)LOWORD(wParam);hwndComboBox=(HWND)lParam;

Parameters

  • idComboBox
    Identifier of the combo box.
  • hwndComboBox
    Handle to the combo box.

Return Values

None.

Remarks

To get the index of the current selection, send the CB_GETCURSEL message to the control.

The CBN_SELCHANGE message is not sent when the current selection is set using the CB_SETCURSEL message.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

Combo Boxes Messages | SendMessage | CBN_DBLCLK | CB_SETCURSEL | WM_COMMAND

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.