Page 1 of 1

Icon 16x16 & 32x32 question.

Posted: Fri Jun 30, 2006 7:51 am
by Marc Vanzegbroeck
Hi,

I have define an application icon that is shown on the left site of my program. Everything is working fine, but how can I define that if I make a shortcut to the desktop that the default icon is a different one? In my program I want to show a 16x16 one and in the shortcut to the desktop I want to show a 32x32. Now it's automaticly scaled, but is is not looking nice. If a use the 32x32 as program-icon, it's scaled to 16x16, and also not looking nice.
Is there a way tha windows nows which one to take. I have a application from someone else and if make a shortcut to the desktop, it show the 32x32 one, and if i make a shortcut top the office-toolbar, the 16x16 one is displayed.

Thanks,
Marc

Posted: Mon Jul 03, 2006 5:14 am
by Antonio Linares
Marc,

Define the default one as:

1 ICON "myico32.ico"

And use another name for the application one:

app ICON "myico16.ico"

Posted: Mon Jul 03, 2006 6:17 am
by Marc Vanzegbroeck
Antonio,

I allready did this and in's working fine, but if I make a shortcut to the office-bar, he also use the 32x32 one. Ofcource I can manualy change it to the 16x16 one. It also shows the 32x32 if you explore the directory with the program.

I was yust wondering that was a way to do this automaticly. It can be done because I use such a program that use the 32x32 on the desktop and the 16x16 on the office bar and while browsing. (ex. Outlook, eudora,...)

Thanks,
Marc

Posted: Mon Jul 03, 2006 7:30 am
by Detlef Hoefner
Marc,

try to find a software called MicroAngelo.
( www.impactsoftware.com )

With this program you can create icons containing more than only one size.

Maybe this could help you.
Regards,
Detlef

Posted: Mon Jul 03, 2006 7:58 am
by Marc Vanzegbroeck
Thanks Detlef,

I allready using MicroAngelo for my Icons but did't know that I could save more than 1 format in 1 file. :oops:
I guess I should read the help-file how to do this :lol:

I will check it out and will let you know the result.

Regards,
Marc

Posted: Mon Jul 03, 2006 8:18 am
by Marc Vanzegbroeck
Detlef,

It's working very nice. The office-bar, desktop and explore show automaticly the correct icon!!!
The only little problem is that Fivewin shows the 32x32 instead of the 16x16 in the left upper-corner but this is no problem because here I can allways use the 16x16 in my application (adding the 16x16 to my recource and use this one as program-icon and using the combined icon as default one)

Thanks again for pointing me in the right direction.

Marc

Posted: Mon Jul 03, 2006 8:31 am
by Antonio Linares
Marc, Detlef,

Very good :)