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 |
|
Eddie Judson
|
Apr 3, 2006 - 4:11 AM
|
I have a dialog which is created dynamically and I have no problems with subclassing the CExtCombo box on it, the only problem is that I now want the CExtCombo to be owner drawn so I can use the multicolumn feature, but I can’t seem to get past the error. I have emailed you a sample, can you help? Regards, Eddie
|
|
Technical Support
|
Apr 3, 2006 - 7:33 AM
|
It seems the problem hides somewhere in your code. In your project we created a simple CComboBox -derived class and it doesn’t work either. The error occurs in the MeasureItem method when we receive an incorrect value for the lpMIS->itemID property. Please note the problem is gone if we replace the CBS_OWNERDRAWFIXED style with CBS_OWNERDRAWVARIABLE .
|
|
Eddie Judson
|
Apr 3, 2006 - 7:49 PM
|
Thank you I have changed the style to CBS_OWNERDRAWVARIABLE
|
|