用MCF随便做个小程序都是几M,所以个人偏好使用win32 ,然后win经典 界面样子好像不太好看,本来我想自己重写按钮...后来找找居然发现了这个东东
#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_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把它放在#include<windows.h>后面可以让控件显示Win7的水晶式样,看上去很舒服...
原文地址:http://blog.csdn.net/ztz0223/article/details/8006126
新闻热点
疑难解答