Home > Software engineering >  MFC in WIN10 and Windows 7 is consistent with how to display style
MFC in WIN10 and Windows 7 is consistent with how to display style

Time:11-12

VS2012 software compiled in the dialog box, use the
# # ifndef _UNICODE
# if defined _M_IX86
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# elif defined _M_X64
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# the else
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# endif
# endif

But I run on WIN10 style, and in the style of the Windows 7, not the same, I will also show a WIN10 style on Windows 7, how to operate,

CodePudding user response:

Use MFC to make the UI is related to system by default, all is the use of system resources, according to it's hard to do display and system independent, use some third party UI library texture can be achieved for themselves and also simple

CodePudding user response:

Will to draw the UI to show consistent, with some of the UI library

CodePudding user response:

Using system style interface:
https://www.cnblogs.com/pkill/archive/2010/07/09/1774527.html

Temporarily haven't tried, try it later,
  • Related