Click here to Skip to main content
13,300,331 members (51,123 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have created an icon 48x48 with 16 colors in vc++ 6.0 mfc dialog application. I got the icon in the executable file,
but I'm unable to show this icon shortcut on the Windows XP desktop.
Posted 28-Oct-10 19:22pm
Updated 28-Oct-10 19:23pm
kjayalakshmi 29-Oct-10 4:28am
i want icon tobe 48x48 with 16 colors only
Sauro Viti 29-Oct-10 4:33am
The size of icons shown on the desktop is a setting of the desktop, then you cannot have your application icon to be shown as 48x48. What you can do is to change the desktop settings, but doing this all the icons on the desktop will be 48x48
kjayalakshmi 29-Oct-10 5:23am
how can i create custom icon 32x32 pixels with more clarity

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Your icon file "res\icon.ico" should have the standard resolutions (16x16, 32x32) that may be needed for the Windows desktop. You can add them to your icon file by using one of the free icon editors from the internet.
kjayalakshmi 29-Oct-10 5:21am
i want icon to be 48x48 pixels only.
JF2015 29-Oct-10 5:23am
You cannot do this. Your icon should provide all the required resolutions. This has no effect on your application, it is just necessary so that windows can display your icon on the desktop

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171207.1 | Last Updated 29 Oct 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100