473,325 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Icons

Hi,
I have a 48x48 icon named <ApplicationName>.ico which, when I build my
application, is therefore used as the executable icon. However, in
Windows Explorer it is possible to use various different views that
require different icon sizes. Explorer will automatically scale the
icon to the correct size, but the scaling is not very good. I actually
have various different sizes of this icon, so I was wondering if it is
possible to specify multiple icons such that the correct size for a
particular view would be automatically used?
Thanks,
Chris.

Feb 7 '07 #1
3 3204
On 7 Feb, 12:15, "technic...@gmail.com" <technic...@gmail.comwrote:
Hi,
I have a 48x48 icon named <ApplicationName>.ico which, when I build my
application, is therefore used as the executable icon. However, in
Windows Explorer it is possible to use various different views that
require different icon sizes. Explorer will automatically scale the
icon to the correct size, but the scaling is not very good. I actually
have various different sizes of this icon, so I was wondering if it is
possible to specify multiple icons such that the correct size for a
particular view would be automatically used?
Thanks,
Chris.
Actually, forget it - I realised my mistake now!

Feb 7 '07 #2
An icon may contain multiple images of various sizes.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.

<te********@gmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
Hi,
I have a 48x48 icon named <ApplicationName>.ico which, when I build my
application, is therefore used as the executable icon. However, in
Windows Explorer it is possible to use various different views that
require different icon sizes. Explorer will automatically scale the
icon to the correct size, but the scaling is not very good. I actually
have various different sizes of this icon, so I was wondering if it is
possible to specify multiple icons such that the correct size for a
particular view would be automatically used?
Thanks,
Chris.

Feb 7 '07 #3
On 7 Feb 2007 04:15:19 -0800, "te********@gmail.com" <te********@gmail.com>
wrote:
>Hi,
I have a 48x48 icon named <ApplicationName>.ico which, when I build my
application, is therefore used as the executable icon. However, in
Windows Explorer it is possible to use various different views that
require different icon sizes. Explorer will automatically scale the
icon to the correct size, but the scaling is not very good. I actually
have various different sizes of this icon, so I was wondering if it is
possible to specify multiple icons such that the correct size for a
particular view would be automatically used?
Thanks,
Chris.
A single ICON file can contain multiple icon images of different sizes, so add
ICONs of different sizes to the same file. If you open an ICON in VS 2005 you
will see that there is a list of sizes in a dropdown (as I recall) when you
select a size you will be shown the ICON of that size.

Sorry I can't give you a detailed description of how to do this, but it's been a
long time since I've done it.

Good luck with your project,

Otis Mukinfus

http://www.otismukinfus.com
http://www.arltex.com
http://www.tomchilders.com
http://www.n5ge.com
Feb 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: drum118 | last post by:
Has anyone experience problems with firewall blocking some icons and not others. I am using Zone alarm and have the popup set for medium and it was blocking some of the icons for some strange...
24
by: Crom | last post by:
Ok. I want to settle this once and for all. After looking at the source for various, rather sizeable (but not all were so big) web sites that use icons that show up in the addressbar beside the...
3
by: sto | last post by:
look at this picture http://upload.cs99.net/e.gif i use the function SHGetFileInfo to get file icons. but these icons are not very nice. there are some black things round of the icons. many...
6
by: B-Dog | last post by:
Does anyone know where I can find some professional looking icons that are the standard windows collection for developers? The ones that came on the VS cd are pretty lame. Thanks
17
by: Brett | last post by:
I'd like references on where to find some good (quality) icons to use for form and application icons (for the EXE). Most of the free stuff isn't that great looking and there isn't a good...
2
by: SharpCoderMP | last post by:
i'm trying to embed multiple program icons in my executable. the only way so far i managed to do that is to embed native win32 resource file with multiple icons. it works, but... when i create a...
3
by: Pucca | last post by:
HI, I'm using vs2005. There are very few icons I found in the folder of vs2005imagelibrary under the install folder of vs2005. Does anyone know where I can download icons that are typically used...
1
by: Jon Slaughter | last post by:
I'm trying to create a windows explorer like app and the problem I'm having is getting the proper icon for the folders and items. In windows explorer there are many different icons and most seem...
6
by: Ronald S. Cook | last post by:
We're creating an Outlook-style Windows app that will have icons in it. I was just wondering if there was a Microsoft product that I could use to create icons. I'm not a graphics person but I...
4
by: Sanoski | last post by:
This might be a dumb question. I don't know. I'm new to all this. How do you find icons for your programs? All GUI applications have cool icons that represent various things. For instance, to save...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.