MaxGUI XP Look?
BlitzMax Forums/BlitzMax Programming/MaxGUI XP Look?
Is there anyway to give the gui the proper xp look, like in vc2005 with shaded gadgets etc?
Irrc this requires a manifest for the .exe. Anyway to manually make one?
Import an XP manifest I guess. There's probably a tutorial or something about how one would go about it on the MinGW website (haven't searched).
Im not sure about including the manifest inside the exe since i have not tried it or researched on it, but this is how you can create a manifest file,
<?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="Application"
type="win32"
/>
<description>Program Description</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
Save this as "program.exe.manifest", replace "program" with your exe file name and put it in the same dir as the exe and enjoy.
To put the manifest file in an EXE using ResourceHacker:
1. Open the Exe
2. Menu > Action > Add a new resource...
3. Select the manifest file.
4. Resource Type: 24
5. Resource Name: 1
6. Add Resource.
Compliments of Snarty ;c)
thanks, and damn so I have to resourcehack every build? Purebasic has had manifest gen for ages. come on mark, window users maybe not mac users, but we're still users.
It's much easier just to distro the manifest file alongside the exe. Unless of course you incbin all your external data.
Donnie, PureBasic just creates a external manifest file but at the same time it makes it hidden, this is very possible and easy to do in blitzmax.
Can you explain how please? DO you mean I can just create one in code with a func and windows will asscoiate it by name?
Toby, not sure what you mean. I'm not high..
The text Sarge posted higher is a manifest file. Simply compile your exe, for example program.exe, copy and paste that text into a file named program.exe.manifest and put it in the same directory as your program. Next time you boot the program, XP look!
^ Say, that works - cool! :)
Doesn't work with the manifest Moleboxed, but still very handy. The manifest file isn't something that needs Moleboxing and works if left outside.
What else can you do in a manifest file?
Run malicious code...?
But Seriously. You can also have things such as your Company name, App Name etc.