简体   繁体   中英

Make Windows Integrated Form Style In Delphi 7

每个Delphi 7开发人员都知道,如果他在Delphi 7上编译应用程序,那么样式将是Windows 2000应用程序,但是有任何方法可以使这个更好,因为应用程序可以拥有Windows版本的默认主题,如C ++和C#应用程序?

Try adding the TXPManifest component to the main form of your application. located in the Win32 Tab.

替代文字

The TXPManifest component has no methods or properties. All it does is include the XPMan unit in your project. This in turn causes a certain resource file to be included in your project's executable file. The resource includes a manifest - a small piece of XML that contains information about the application you are writing as well as information concerning the version of the comctl32.dll to use.

Alternatively add your own manifest resource manually - which allows you to tap into the even newer Windows 7 features, if you can be bothered to fathom out the syntax. See this link for more info but ignore the bit about enabling runtime themes as this doesn't exist in D7 (I don't think).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM