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 |
|
David Sousa
|
Oct 5, 2006 - 8:01 AM
|
I am using CExtComboBox instead of CComboBox in order to have consistent styles applied to all controls. However, the CExtComboBox does not appear to generate the CBN_EDITUPDATE message. My application works fine with CComboBox, it’s just that the style is different from all of the other controls. Is it possible to handle the CBN_EDITUPDATE message using CExtComboBox?
|
|
Suhai Gyorgy
|
Oct 5, 2006 - 9:08 AM
|
There’s a line ON_CONTROL_REFLECT( CBN_EDITUPDATE, OnEditCtrlUpdate ) in CExtComboBoxBase’s message-map, so I guess you need to make a CExtComboBox derived class and override OnEditCtrlUpdate virtual method in it to handle that message.
|
|
David Sousa
|
Oct 5, 2006 - 11:15 AM
|
Thanks. That did the trick.
|
|