- Code: Select all Expand view
hTheme = OpenThemeData(hWnd, L"COMBOBOX");
to
- Code: Select all Expand view
hTheme = OpenThemeData(hWnd, L_parc(3);
Compiler does not like it...
The following compiles, but I don't get anything drawn:
- Code: Select all Expand view
char *cStyle = ( ISCHAR(4) ? _parc( 4 ) : "COMBOBOX" );
hTheme = OpenThemeData(hWnd, (unsigned short * ) cStyle);
This is the OpenThemeData definition:
- Code: Select all Expand view
THEMEAPI_(HTHEME) OpenThemeData(HWND,LPCWSTR);