Adding ICON to window

BlitzMax Forums/BlitzMax Programming/Adding ICON to window

Hi, I just followed the tutorial on adding an icon using MinGW, looks great, but my program uses GUI as an emulator front end and the switchs to a Direct-x window to run the emulator games (graphics 800,600)

Problem is there is an Icon on the GUI window, but no icon on the "Graphics" window, How do I get the icon on both?

It looks untidy because it looks like the icon disappears when the game starts.


If nothing else the Executable has the ICON and it looks COOL, pity this isnt native stuff for BMAX, like the window centre/position issue

Dont worry, I solved it, I added this code;

http://www.blitzbasic.com/Community/posts.php?topic=66973#748597

now I have an Icon on both windows!, And suddenly my Program looks more "commerical" ,come-on we all want the compiler to handle this, hint hint mark

I'm into all kinds of emulation. What does your emulator emulate? Will you be releasing it?

SpaceAce