Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++dialog
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 18:22pm
Edited 28-Oct-10 18:23pm
JF201552.7K
v2
Comments
kjayalakshmi at 29-Oct-10 4:28am
   
i want icon tobe 48x48 with 16 colors only
Sauro Viti at 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 at 29-Oct-10 5:23am
   
how can i create custom icon 32x32 pixels with more clarity

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
kjayalakshmi at 29-Oct-10 5:21am
   
i want icon to be 48x48 pixels only.
JF2015 at 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
Your Filters
Interested
Ignored
     
0 Shai Vashdi 576
1 OriginalGriff 183
2 Tadit Dash 150
3 Peter Leow 140
4 Sergey Alexandrovich Kryukov 121
0 Sergey Alexandrovich Kryukov 9,280
1 OriginalGriff 5,473
2 Peter Leow 4,100
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 29 Oct 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid