今天终于解决了自己一直想解决的问题:
我在使用VC编程时,不管是Win32或者MFC都碰到这种情况:
在对话框编辑器中预览对话框界面,对话框中按钮是这样的:
但是运行程序之后,又变成这样了:
变得好丑,一直想解决这个问题,今天终于解决了,在项目中加入:
- #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
就行了,哎,微软也多此一举了。。。
转载自:http://blog.csdn.net/drecik__/article/details/8225841