Code: Select all
hTheme = OpenThemeData(hWnd, L"COMBOBOX");
to
Code: Select all
hTheme = OpenThemeData(hWnd, L_parc(3);
The following compiles, but I don't get anything drawn:
Code: Select all
char *cStyle = ( ISCHAR(4) ? _parc( 4 ) : "COMBOBOX" );
hTheme = OpenThemeData(hWnd, (unsigned short * ) cStyle);
Code: Select all
THEMEAPI_(HTHEME) OpenThemeData(HWND,LPCWSTR);