Re: how to draw an notify icon?
From: Bob Powell [MVP] (bob_at__spamkiller_bobpowell.net)
Date: 10/21/04
- Next message: James Parsly: "Re: How to make scale transform not affect line thickness"
- Previous message: Bob Powell [MVP]: "Re: How to make scale transform not affect line thickness"
- In reply to: assaf: "how to draw an notify icon?"
- Next in thread: assaf: "Re: how to draw an notify icon?"
- Reply: assaf: "Re: how to draw an notify icon?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 13:31:42 +0200
I *think* that you may be seeing the effects of the automatic selection of
transparent pixels. The framework code attempts to detect the transparent
colour from the bottom-left pixel of an icon so if that colour is red you
might see all your red disappear...
-- Bob Powell [MVP] Visual C#, System.Drawing Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/gdiplus_faq.htm The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml "assaf" <assafwo@hotmail.com> wrote in message news:uCVMKAEtEHA.3200@TK2MSFTNGP09.phx.gbl... > hi all > > i am drawing a notify icon. > i added a 'NotifyIcon' control to my form. > > in the visual studio designer, > it looks ok. > however, when i run the app, > it looks a little different. > > for example, > i use only red in the icon. > and when i run, > black pixels appear! > > what am i missing? > why isn't the tray icon > identical to what i draw in the disgner? > > > assaf > > >
- Next message: James Parsly: "Re: How to make scale transform not affect line thickness"
- Previous message: Bob Powell [MVP]: "Re: How to make scale transform not affect line thickness"
- In reply to: assaf: "how to draw an notify icon?"
- Next in thread: assaf: "Re: how to draw an notify icon?"
- Reply: assaf: "Re: how to draw an notify icon?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|