Visual Studio-MFC按钮风格美观为Win7版本(圆角矩形)
作者:互联网
Visual Studio-MFC按钮风格美观为Win7版本(圆角矩形)
July 6, 2020 10:48 PM
参考 VS2010 MFC的按钮风格改变
VS2010建的MFC工程按钮默认的风格类似VC6.0(直角矩形),如想美观按钮改为WIN7的按钮风格(圆角矩形),只需在代码中找到头文件“stdafx.h”,在里面添加如下代码即可:
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
标签:圆角,MFC,美观,Win7,Visual,风格,按钮,矩形 来源: https://www.cnblogs.com/yongchao/p/13258144.html