We have some C++ Win32 code that applies a background colour to certain controls by responding to the WM_CTLCOLOR... messages.
This works fine when Windows UX theming is not in operation.
Under Windows 7 with the default theme, comboboxes with CBS_DROPDOWNLIST style just display with the theme's grey background. CBS_DROPDOWN comboboxes respond correctly to the background colour change with the theme enabled.
I know I could remove the theme for the affected controls, but this makes them look odd.
Anyone have any idea of the official way to change the background color of individual themed controls now that MS seem to have broken the WM_CTLCOLOR... stuff.
Thanks JF