Icon 16x16 & 32x32 question.

Icon 16x16 & 32x32 question.

Postby Marc Vanzegbroeck » Fri Jun 30, 2006 7:51 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Antonio Linares » Mon Jul 03, 2006 5:14 am

Marc,

Define the default one as:

1 ICON "myico32.ico"

And use another name for the application one:

app ICON "myico16.ico"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Marc Vanzegbroeck » Mon Jul 03, 2006 6:17 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Detlef Hoefner » Mon Jul 03, 2006 7:30 am

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
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Postby Marc Vanzegbroeck » Mon Jul 03, 2006 7:58 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Marc Vanzegbroeck » Mon Jul 03, 2006 8:18 am

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
Last edited by Marc Vanzegbroeck on Mon Jul 03, 2006 8:33 am, edited 1 time in total.
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Antonio Linares » Mon Jul 03, 2006 8:31 am

Marc, Detlef,

Very good :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 17 guests