用vs2008创建的SDI文档中,创建对话框后,对话框中控件显示的是老风格,不是XP风格的控件,要想有XP风格的控件,在stdafx.h中增加 #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 def