How to change APP Logo in window

Started by Baggey, August 01, 2023, 18:15:44

Previous topic - Next topic


Hi, I know you can change the window title with :-

AppTitle="ZX81 Emulator"

But how does one change the AppLogo ? Which appears in the top left window.

Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 24GB ram 1TB SSD and NVIDIA Quadro K620 . DID Technology stop! Or have we been assimulated!

ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!


You simply create an ICON from your PNG with an ICON-Maker. Give this *.ICO-File the same name as your app and put it next to your *.BMX file or *.EXE-file. Next time when you start to compile your code it automatically adds the icon to your window.

now you have a small symbol in the window, but also the EXE-file looks like the PNG. And if you create a shortcut it looks like the PNG

Here an example:
1. Test.PNG ----> Test.ICO
2. both Test.BMX + Test.ICO  in the same folder
3. Start Test.BMX. Press F5 to melt it together
4. Test.BMX + Test.ICO = Test.EXE
5. No need to distribute the *.ICO-file

Graphics 800,600
Until AppTerminate()

Test.ico (inside ZIP-file) 

looks like:

...back from Egypt