xp look ?

BlitzPlus Forums/BlitzPlus Programming/xp look ?

ChrisBloch(Posted 2003) [#1]
Hi,

How to have the look xp with the gadgets (buttons and others)?

Chris


Anthony Flack(Posted 2003) [#2]
I guess this isn't the answer you're looking for, but the obvious solution would be to buy XP.

Perhaps if you were clearer about what, exactly, you want to achieve (and which blitz you are using)...?


TeraBit(Posted 2003) [#3]
I think I know what he means:
WinXP -> BlitzPlus -> Command Button -> XP Look?

As it is, only the HTML View, TextArea and TreeView controls show up as XP look when used on WinXP.

This will likely be added to as time goes on.


tkruk(Posted 2003) [#4]
Yeah the buttons are not XP style.
(sucks)... hope they fix this soon :)


JaviCervera(Posted 2003) [#5]
Perhaps if you were clearer about what, exactly, you want to achieve (and which blitz you are using)...?
I think this is pretty obvious, considering that we are in the BlitzPlus forum.


Odds On(Posted 2003) [#6]
This will only work when compiled but just put this file

http://www.legacygames.co.uk/myfile.exe.manifest

in the same folder as the BlitzPlus exe and change 'myfile.exe' to the filename of your app.


Anthony Flack(Posted 2003) [#7]

I think this is pretty obvious, considering that we are in the BlitzPlus forum.



Oops, I never know which forum I'm in anymore, now that there's a hundred of them and I just click on view all active.


JaviCervera(Posted 2003) [#8]
lol


tkruk(Posted 2003) [#9]
Fullernator:
What does the file do (exactly), and can you just
explain it further thanks.

Tom


Odds On(Posted 2003) [#10]
It gives buttons, tabs, etc the look of XP (Only works in XP).. you could put that manifest file in the same folder as any .exe and rename it to match the .exe and it will give it an XP look.


TeraBit(Posted 2003) [#11]
Also if you rename it to Blitzcc.exe.manifest and put it in the blitzplus\bin directory, then uncompiled projects get the look also!


darklordz(Posted 2003) [#12]
The manifest is just xml code that tells Your app to use Common Controls 6.0. They are initialized by default within the B+ code ( InitCommonControls() ), but need to be instructed by the manifest file witch version to use. (I Guess.)

How to add an emmbedded manifest....
create a txtfile : name it manifest.txt
add the following text :
<?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="Divination" type="win32" />
<description>Divination</description>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df"/>
    </dependentAssembly>
</dependency>
</assembly>

*Note : Change some of the text to what u need it to be e.g replace Divination with ur own company name...

Use Resource Hack open ur exe and add a new resource, open the manifest.txt...

Resource Type : 24
Resource Name : 1
Resource Language : 1033 (or your lang. code...realy doesn't matter...)

Save your exe and have fun you just made ur embedded XP Manifest....

-------------------------------------------------------
Or just create an external file names samenameasyourexefile.exe.manifest and add the following text inside it.
<?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="Divination" type="win32" />
<description>Divination</description>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df"/>
    </dependentAssembly>
</dependency>
</assembly>


*Note : im not sure if you'll have todo the following but it would be usefull si set the manifests file attributes to system...