Replacing titlebar icon in Graphics() window
BlitzMax Forums/BlitzMax Programming/Replacing titlebar icon in Graphics() window
| ||
Reshack and importing an .o file change the .exe file icon, but not the Window icon in the top-left of the title bar of a window created with Graphics. The BLIDE publisher doesn't do it either. Has anyone successfully done this? |
| ||
..EDIT: It won't work with the standard modules. The C code for creating graphics windows does not use any resource from the exe. You have to change it after the window is created. |
| ||
I use this method which works perfectly. Its a little long-winded to set up from scratch, but once its done, its done. |
| ||
@JoshK: If you import the publisher module to your application, and call Publisher.SetIcon just after creating the window, this should work. You can get the publisher module from the downloads section of your BLIde Plus account. |
| ||
Thanks Ziggy, it works |