Is there any way for me to use SetGadgetPixmap()
To change my game's Desktop icon? Or, Is there a way to assign a desktop icon using Windres?
(if that's a new word to anyone reading, you can find out more about Windres here:
http://homepage.ntlworld.com/config/max/appiconguide.htm)
To change my game's Desktop icon? Or, Is there a way to assign a desktop icon using Windres?
(if that's a new word to anyone reading, you can find out more about Windres here:
http://homepage.ntlworld.com/config/max/appiconguide.htm)
Yep, that guide describes how to make an object resource file for your icons, that you can then import (as you would with any other module) into BlitzMax.
The only problem is that, at the moment, BlitzMax only allows you to import 1 object file in a single EXE, and if you are using the new MaxGUI.Win32MaxGUIEx module, then this is already importing an object file to give you the XP button theming...
As such, if you want to import your own icon object file, you will have to build modules with the line:
Import "xpmanifest.o"...commented out of BlitzMax\mod\maxgui.mod\win32maxguiex.mod\win32maxguiex.bmx.
I made a similar tutorial last summer, which allows you to have an icon *AND* the new XP/Vista themes...
Seb's XP Manifest/Icon Tutorial