How to make the program written by VC6.0 in XP as XP style

xiaoxiao2021-03-06  23

1. Select Insert in the resource file, select Custom, then enter the resource type 24, do not enter other.

2. To copy the following XML code to the editor:

XMLns = "URN: Schemas-Microsoft-COM: ASM.V1"

ManifestVersion = "1.0">

Processrarchitecture = "x86"

Version = "5.1.0.0"

TYPE = "Win32"

Name = "Test.exe" />

Test Application

TYPE = "Win32"

Name = "Microsoft.Windows.common-Controls"

Version = "6.0.0.0"

PublickeyToken = "6595b64144ccf1df"

Language = "*"

Processrarchitecture = "x86" />

3. Change the ID of the resources to 1, must be 1.

4. If your program is Win32 remember to join "CommCtrl.h" and link "COMCTL32.LIB". If it is MFC, it is not available, the framework has been added to you. Then Rebuild, it's very simple :)

转载请注明原文地址:https://www.9cbs.com/read-57385.html

New Post(0)