That does not appear to be the problem here. But thanks for the
suggestion.
Any other ideas? Nothing unusual is being done with the control. It is
a CComboBoxEx. We set up a CImageList and assign it to the combo box.
As items are added to the combo box, the appropriate iImage and
iSelectedImage values are set. This is all done within OnInitDialog
after the base function is called. Nothing more is done with the
control until the user clicks OK and we retrieve the selection.
On Oct 15, 7:44 pm, "Michael A. Covington"
<l...@ai.uga.edu.for.addresswrote:
"Mike" <MLM...@hotmail.comwrote in message
news:11**********************@q5g2000prf.googlegro ups.com...
I have a C# DLL that calls a function in a C++ DLL. The C++ function
displays a window that has a combo box (CComboBoxEx) control. If I
enable visual styles in my C# DLL, images do not appear in the combo
box. How can this be fixed?
Your problem may be related to this:
http://www.covingtoninnovations.com/...ex.html#060621
The actual events that occur are somewhat different when visual styles are
enabled.