i got a problem on my hands:
When i create a button with the following code:
It uses the Windows XP Classic style.
hButton1 = CreateWindowEx(WS_EX_STATICEDGE, "Button", "Close", WS_CHILDWINDOW | BS_PUSHBUTTON
| WS_VISIBLE, 130, 185, 50, 20, hwnd, NULL, hInstance, NULL);
Trying to make it to Default op system skin with the following code:
But it generates the following error :
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' " \ "version='22.214.171.124' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
Any suggestions ?
Error 1 error C2017: illegal escape sequence d:\c++ projects\phoenixloader\phoenixloader\mainapi.cpp 14