Search code examples
delphidelphi-7themesskinning

Make Windows Integrated Form Style In Delphi 7


Every Delphi 7 developer knows that if he compile a application on Delphi 7, the style will be as Windows 2000 applications, but there is any method to make this better as the application can have the default theme of the Windows version, as C++ and C# applications?


Solution

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

    alt text

    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.