Some C help
Posted: Mon Feb 20, 2006 12:28 pm
How could I change:
to
Compiler does not like it...
The following compiles, but I don't get anything drawn:
This is the OpenThemeData definition:
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);