SDK uses XP style controlsJanuary 15, 2013 ⁄ general ⁄ a total of 1165 characters ⁄ font size small medium big ⁄ comments off
Starting with Windows XP, the system provides a number of flashy styles for most of the controls we use to create the application user interface, which are called user interface themes. However, by default, the application does not support user interface themes. An easy way to support user interface themes is to provide an XML-formatted list with your application. The application will bind to the correct version of ComCtl32.dll based on this list, so that ComCtl32.dll can redraw the Windows controls in the correct way. The Microsoft C + + connector provides a manifestdependency option that is set with the appropriate parameters for the pragma indicator.
//Needed for supporting Xp/vista styles. #ifdef _UNICODE
#if defined _m_ix86
# pragma comment (linker, "/manifestdependency:\" Type= ' Win32 ' Name= ' Microsoft.windows.common-controls ' version= ' 6.0.0.0 ' processorarchitecture= ' x86 ' publickeytoken= ' 6595b64144ccf1df ' language= ' * ' \ ' ")
#elif defined _m_ia64
#pragma COMMENT (linker, "/manifestdependency:\" Type= ' Win32 ' Name= ' Microsoft.windows.common-controls ' version= ' 6.0.0.0 ' processorarchitecture= ' ia64 ' publickeytoken= ' 6595b64144ccf1df ' language= ' * ' \ ' ")
#elif defined _m_x64
#pragma COMMENT (linker, "/manifestdependency:\" Type= ' Win32 ' Name= ' Microsoft.windows.common-controls ' version= ' 6.0.0.0 ' processorarchitecture= ' amd64 ' publickeytoken= ' 6595b64144ccf1df ' language= ' * ' \ ' ")
#else
#pragma Comment (linker, "/manifestdependency:\" Type= ' Win32 ' Name= ' Microsoft.windows.common-controls ' version= ' 6.0.0.0 ' Processorarchitecture= ' * ' publickeytoken= ' 6595b64144ccf1df ' language= ' * ' \ ')
#endif
#endif
SDK App new window style (go)