Application Icon

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I have 2 problems.

1st: I've designed a nice icon with 2 inner bitmap, 32x32x256 & 16x16x256,
both of them have thransparent background.
and I created a shortcut in Start Menu\Programs
unfortunately in the program tab the transparent background just appear
black

2nd: the icon in the file explorer didn't change when I change my old icon
to my new icon, I remeber reading they are somehow cached, what should I do
to see the new one ?
 
Lloyd,

I have the same problem. Not only the application icon does not display
transparent colour correctly, but any icon used in the application (in
TreeView, in List view, etc...) has same problems. I think it is a bug. I
reported it several times, but it was ignored.

An (ugly) solution I have is to paint the background white.

Pawel Achtel
3D Software Development, Australia
www.24x7.com.au
 
Hi Pawel !

Actually there is a solution for your in-application icons.
I don't use image list so I'm not sure, but from what I've read I think that
should work too.

Your icon should contain 1 and only 1 bitmap of format 16x16x16.
and load it with something like
Icon ic = new
Icon(GetType().Assembly.GetManifestResourceStream("myNamespace/myIcon.ico"))
;

that should gives better result.
at last all my ToolBarButton and Icons are fine.
 
Hi Lloyd,

Thanks for suggestion. Unfortunately, I use 256 colour icons (after all, the
device can display thousands of colours) and 16 colours, just don't cut it.
I can paint the background white for the time being, but I regard is as a
bug.

Cheers,

Pawel Achtel
3D Software Development, Australia
www.24x7.com.au
 
Back
Top