I'm developing an Internet Explorer toolbar and I want to place a combobox I create on my toolbar.
HWND combobox1=CreateWindow(_T("COMBOBOX"), _T("combobox"), WS_BORDER |
WS_VISIBLE | WS_CHILD | CBS_DROPDOWN, 10, 0, 200,
250, m_hWnd, (HMENU) NULL,NULL , NULL);
And that works correctly, but the combobox is styled in the Windows Classic way, and I want to have it use the Windows Aero theme. I've tried this:
#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")`
But nothing changes. (I tried this on a simple Win32 app and the style worked fine, but in the DLL on the toolbar the style doesn't get set)