Groups | Blog | Home
all groups > dotnet faqs > august 2005 >

dotnet faqs : Howto create a popup menu with icons?


Ignasi Giró
8/29/2005 12:00:00 AM
Hello everyone

I wonder if exists any way of creating a popup menu (ContextMenu) where
every option has an own icon.

Thanks!

Ignasi Giró
8/30/2005 9:36:16 AM
Thx for your fast reply Dmitry

I also think VSNET doesn't have some nice controls, and I'm surprised about
that. We recently have bought external controls that solves that problem,
providing new menu items and context menu. (Janus)

I see I can do that the way u explained but we must use what we've bought ;)
....thx anyway!


"Dmitry Bond." <db@alfa-team.com> escribió en el mensaje
news:df0uvb$1qbe$1@news.kiev.sovam.com...
[quoted text, click to view]

Dmitry Bond.
8/30/2005 9:39:36 AM
Hello.

Look to http://www.codeproject.com/cs/menu/menuimage.asp.
Perhaps it helps.
===quote:begin===
By default, .NET Framework menus provide no image property on the MenuItem
class. To add one requires defining your own drawing and painting code and
basically rendering the menus yourself from scratch.
===quote:end===

I believe that it is incompleteness of VS.Net team.
Ufortunately, VS.Net 2003 still has the same incompleteness. :-(

Imho, icons in menu are used almost by all peps then it was really stupid
not to implement this in VS.Net.

WBR,
Dmitry.


[quoted text, click to view]

AddThis Social Bookmark Button