Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Changing an MFC app's small icon on the Windows desktop

151 views
Skip to first unread message

Madhav

unread,
Nov 4, 1997, 3:00:00 AM11/4/97
to

Rob Lyman wrote:

> I have a MFC app where I have provided a custom icon for IDR_MAINFRAME
>
> (32x32). This icon shows up properly in the file properties page, and
> in
> the title bar when I run the app, but when I view the file in a folder
> on
> the window's desktop, I still see that blasted MFC icon in the "small
> icon"
> and "details" views. Does anyone know how to fix this problem?
>
> Rob Lyman

Hi Rob,

Every application has two icons one a small 16x16 and the other the
32x32. It seems that you have changed the large icon and have not
replaced the small one. To do this go to the resource editor, there
change the small icon.
This should solve your problem.
Hope this helps.

Regards,
Madhav.
email : mad...@aditi.com
Aditi Technologies Pvt. Ltd.
http://www.aditi.com


Rob Lyman

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

>>You may have missed it (I did at first). An icon file can contain
multiple
images in different sizes for different displays. <<

Yup, that's exactly what I did! That fixed the problem. Thanks all!

Rob


Grinnell Almy <ga...@webvision.com> wrote in article
<3460B771...@webvision.com>...
> Rob Lyman wrote:
>
> > Yes, well I looked for the small 16x16 bitmap, and my MFC App Wizard
> > generated project didn't seem to have one.
>
> You may have missed it (I did at first). An icon file can contain
multiple
> images in different sizes for different displays. Go to the resource
editor
> and open the icon. Right above the image editing portion of the screen
there
> should be a text edit box labelled "Device," with a drop-down arrow. If
you
> click on the arrow, you should see that the list includes "Small (16x16)"
and
> "Large (32X32)." If not, you can use the menu command Image | New Device
> Image to add a new image.
> --
> Grinnell Almy
> ga...@webvision.com
> --
> "I never saw no miracle of science
> That didn't go from a blessing to a curse
> I never saw no military solution
> That didn't always end up as something worse"
> Sting
>
>

0 new messages