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