|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Chandler Bing
|
Sep 11, 2005 - 9:15 PM
|
I have dropdown list cextcombobox ,when drop down and mouse moves the combobox’s text changed, but no ON_CBN_SELCHANGE notify fires. How to know the change in our application
|
|
Technical Support
|
Sep 12, 2005 - 11:29 AM
|
We have coded a sample application for you. It is a very simple application which has list box and combo box windows on the main dialog window implemented in the CTestDlg class. The main dialog handles the CBN_*** notification messages from the CComboBox m_wndCB window. You can see exactly when CBN_SELCHANGE message is really sent by the combo box window. You can change the type of the m_wndCB from CComboBox to CExtComboBox and you will see no differences in the message notifications. Finally, we think you need to use the CBN_SELENDOK notification message instead of CBN_SELCHANGE . The CBN_SELENDOK message guarantees you that the combo box selection is performed by the user.
|
|
Chandler Bing
|
Sep 13, 2005 - 10:10 PM
|
Thanks for your surpport, But,Perhaps i did not say clearly, I means I Use CExtComboBox and When DropDown and the When the Mouse Moves and the text of the ComboBox changes,and there is no notification. How do i know the changes of the combotext when mouse move. Thanks again
|
|
Technical Support
|
Sep 14, 2005 - 3:53 AM
|
Yes, we confirm that there is a small difference between CExtComboBox and CComboBox classes. The CExtComboBox class really draws the selection in the main combo box area next to the drop-down button. In fact, it is just a visual effect because the selection is not changed.
|
|