Change Icon

BlitzMax Forums/BlitzMax Beginners Area/Change Icon

Zenn Lee(Posted 2006) [#1]
The resource hacker dosn't work with BlitzMax so how do you cahnge the .exe icon.

Thanks


Chroma(Posted 2006) [#2]
I'd like to know too please.


Jesse(Posted 2006) [#3]
read this:
http://homepage.ntlworld.com/config/max/appiconguide.htm


Chroma(Posted 2006) [#4]
Create a MINGW environment variable that points to the MinGW root directory


The line above is pretty vague. The environment area isn't something you should be messing with without knowing EXACTLY what you're doing to it. Can someone be more precise?

BTW, I've gotten the PATH set up right but the Build Modules option isn't available yet.


Chroma(Posted 2006) [#5]
Control Panel>Sysytem>Advanced Tab>Environment Variables

Under System Variables click New.
Variable Name = MINGW
Variable Value = C:\mingw\

For those that haven't done this yet.


xlsior(Posted 2006) [#6]
The line above is pretty vague. The environment area isn't something you should be messing with without knowing EXACTLY what you're doing to it. Can someone be more precise?


Seems pretty self-explanatory to me...

But anyway, for example: If you installed MinGW in c:\mingw, you need to add an environment variable named 'mingw' and set it to 'c:\mingw'

After having b oth that and the path, the option should be available in the IDE.

(without the variable, the option will be greyed out... However, if you have it added to your path, you may still be able to rebuild the modules anyway by pressing CTRL-D in the IDE, although you can't select the menu option with the mouse)


Grey Alien(Posted 2006) [#7]
Jim Brown's doc is great, but it won't show an icon on the title bar in windowed mode or on the task swapper (alt+tab window). To do that you need this:

http://www.blitzbasic.com/codearcs/codearcs.php?code=1841


Yan(Posted 2006) [#8]
...but it won't show an icon on the title bar in windowed mode or on the task swapper...
It will if your using a MaxGUI window.

You can also hack your modules for non MaxGUI windows, if you're so inclined...
http://www.blitzbasic.com/Community/posts.php?topic=53816#601546

[edit]
As the above post is pretty old, I'd be inclined to just add the additional lines and not replace the entire functions.
[/edit]


Grey Alien(Posted 2006) [#9]
Yan, yeah I read that thread but GRisu said he got even worse results? Was that just his BMax then I wonder. Also although that works, hacking the modules is a bit undesireable as future BMax upgrades will overwrite the hacks and you have to make them again etc. I tried to avoid all module hacks with my framework. The code archive thing I posted is simple to use and doesn't need module hacks.