Win7 App looks old

BlitzMax Forums/MaxGUI Module/Win7 App looks old

shinkiro1(Posted 2012) [#1]
My MaxGui app has this old windows 2000 look. The strange thing is that some elements are in the win7 look (menu, file chooser, list boxes).
But everything else has this old look.

I read that it has to do something with a manifest file.
Tried to set it via Ressource hacker with no effect.

I would really appreciate any help. Thanks.

Last edited 2012


Captain Wicker (crazy hillbilly)(Posted 2012) [#2]
have you tried a different gui?
Here is my personal favorite: http://www.blitz3dfr.com/portal_joomla/index.php?option=com_content&task=view&id=15&Itemid=39
And it's skinable! so no more problems with looks eh!?


shinkiro1(Posted 2012) [#3]
Thanks for your tip, but I've invested a lot of time into this app already, so there is no way I will change to a different gui.
Also on Mac it works flawless, so it's just a windows problem.


jsp(Posted 2012) [#4]
Did you add your own personal manifest/resource file or do use the MaxGUI internal one?


shinkiro1(Posted 2012) [#5]
I used this one:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> 
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> 
   <dependency> 
      <dependentAssembly> 
         <assemblyIdentity 
            type='win32' 
            name='Microsoft.Windows.Common-Controls' 
            version='6.0.0.0' 
            publicKeyToken='6595b64144ccf1df' 
            language='*' 
            processorArchitecture='*' 
         /> 
      </dependentAssembly> 
   </dependency> 
</assembly>

And added it via Resource Hacker, type 24, name 1


jsp(Posted 2012) [#6]
Check your mail.


shinkiro1(Posted 2012) [#7]
Problem solved.
I forgot to import my manifest.o file in the blitzmax code.
?win32
Import "manifest.o"
?

Assuming you store it in the directory of the app.

Thanks jsp.

Last edited 2012

Last edited 2012


JoshK(Posted 2012) [#8]
I thought by default MaxGUI gave your app the "modern" look. Am I missing out on something?


shinkiro1(Posted 2012) [#9]
Yeah, I thought so as well but it seems not to do that.
Maybe the manifest file is broken?


col(Posted 2012) [#10]
Hiya all,

In the maxgui.mod/win32maxgui.mod/win32maxgui.bmx Line 295:-

'Import "xpmanifest.o" is commented out on my version!

Change it to

Import MaxGui.XpManifest

I don't know why its commented out or whether it will cause issues?
Its commented out for a reason?

Worth a try though.

Last edited 2012


jsp(Posted 2012) [#11]
Probably easier to just use:
Import MaxGui.XPManifest

in their project for those who want it.
It looks like it had been outsourced to be more flexible.

Most of us I suppose use their own manifest anyway.

Last edited 2012


col(Posted 2012) [#12]
Yeah thats true and a better idea.

I just tried it with my latest project and it stopped the alternative gui that im working on from showing at all.