all groups > visual studio .net ide > march 2004 >
You're in the

visual studio .net ide

group:

Add-In menu icons are drawn with a blue background


Add-In menu icons are drawn with a blue background Chris Morrison
3/30/2004 2:12:33 PM
visual studio .net ide:
Hi all,

I have written an Add-In that places a sub-menu into the Edit menu of the
IDE.

Each menu item in this sub menu will have an icon.

I have placed my own icons in each menu item using the code shown in this
example:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/odc_customfaces_net.asp

However, my icons are being drawn with blue instead of transparent
backgrounds.

Does anyone one know why this is and how I prevent it?

Regards,



Chris

Re: Add-In menu icons are drawn with a blue background Carlos J. Quintero
3/30/2004 7:32:06 PM
Custom icons in . NET addins are so problematic... yes, I have seen the blue
color and other issues.

To do it properly you can start with

http://weblogs.asp.net/craigskibo/archive/2004/01/08/48814.aspx

and if the problem is not solved, the forum of below has a long history of
issues about custom icons.

--

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)



"Chris Morrison"
<chris[SPAM]-[TRAP]morrison@rassalom[NO]-[SPAM]technology.co.uk> escribió en
el mensaje news:ODoaXhlFEHA.2576@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Re: Add-In menu icons are drawn with a blue background Chris Morrison
3/31/2004 12:49:22 PM
Solved it!

You have to use a mask.

Chris

[quoted text, click to view]

AddThis Social Bookmark Button