我有一个旧的应用程序,有没有一种快速的方法可以在不更改太多代码的情况下对应用程序进行整容?一些MFC模拟器?
问问题
624 次
2 回答
0
通过阅读您模糊的问题很难意识到您假装在做什么。
如果您想使用更现代的 Visual Studio 版本,只需在该版本上打开它,就会启动解决方案转换向导。
如果您想要一些吸引眼球的东西,只需查看功能包。它有很好的控件,如可停靠窗格、功能区栏等,这将为您的应用程序提供更现代的外观。
如果您想更改表单背景,只需阅读 WM_CTL_COLOR 和 OnCtlColor 文档并覆盖默认行为。
这份清单可以无限延伸……
于 2014-07-14T23:56:15.390 回答
0
1)Create a file <yourapplication><.exe>.manifest
2)Paste the file in the same path as your exe
3)Paste the following content inside the manifest file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version=""
processorArchitecture=""
name=""
type=""
/>
<description></description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.MSXML2"
version=""
processorArchitecture="X86"
publicKeyToken=""
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
4) Launch the exe..
于 2013-01-22T13:24:23.983 回答