Page 1 of 1

Frame icons for different usage/resolution

Posted: Sat Sep 28, 2019 9:14 am
by rocrail
Hi,


I'm using a 256x256 Icon for Windows, and includes it in the Resource file as follows:

Code: Select all

#define wxUSE_NO_MANIFEST 1
#include "wx/msw/wx.rc"
wxDEFAULT_FRAME ICON "xpm/rocrail.ico"
On the Desktop its OK, but I would like to add another Icon for the Toolbar because it cannot be nicely scaled down.
Any hints?
Desktop
Desktop
desktop-icon.png (13.72 KiB) Viewed 993 times
Toolbar
Toolbar
toolbar-icon.png (26.14 KiB) Viewed 993 times

Re: Frame icons for different usage/resolution

Posted: Sat Sep 28, 2019 10:58 am
by doublemax
A Windows .ico file can contain multiple resolutions. IcoFX is a great icon editor for Windows. It used to be freeware, but it's not any longer. But if you Google for "icofx 1.6" you might be able to still find the freeware version.

Re: Frame icons for different usage/resolution

Posted: Sat Sep 28, 2019 11:12 am
by rocrail
Thanks,

I will give it a try. :)