Delphi - fazer o IDE do delphi ficar com aparencia do xp
|Top Previous Next|
// fazer o IDE do delphi ficar com aparencia do XP
XP look for the Delphi IDE
There have been articles about how to make your application look better under XP using its Visual Styles. But if you are developing under XP you may want to give your Delphi IDE the same XP look. Here I describe how to achieve this.
The method is the same as if you are making one of your apps to look good except that we are going to work with .EXE file (you don’t have the sources of the Delphi IDE, do you?)
Before we start make a backup of the file ‘delphi32.exe’ in the ‘Bin’ folder.
Here is the manifest file to use:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="22.214.171.124" processorArchitecture="X86" name="CompanyName.ProductName.YourApp" type="win32"/>
<description>Your application description here.</description>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="126.96.36.199" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"/>
The only thing you have to do is to insert this file in the executable with the help of a resource editor. The resource type should be RT_MANIFEST (or ‘24’ in integer if the resource editor don’t recognize this identifier). Set its Id to 1.
The next time you start Delphi you will have a much better IDE.
I haven’t found any problems using this so I expect that you will not ecounter too.