(API) applying current visual style to window

Blitz3D Forums/Blitz3D Programming/(API) applying current visual style to window

You can use a manifest file. Create a new text file in the same directory as your compiled program, copy and paste the text below to it and save. Then change the filename to "MyExe.exe.manifest", replacing "MyExe" with the name of your executable.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="MyCompany.MyLabel.MyAppName"
type="win32"
/>
<description>MyDescription</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>