Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / December 2006

Tip: Looking for answers? Try searching our database.

How to add an item to the Designer context menu?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Franky - 30 Nov 2006 16:35 GMT
I have a RichTextBox on my usercontrol

In the Designer if I right click the RichTextBox the context menu includes
the item "Edit Text Lines"

I'd love for myuser control to have that feature.

Any idea how to add an item to the context menu?

Thanks in advance for any help
Oliver Sturm - 05 Dec 2006 17:47 GMT
Hello,

>Any idea how to add an item to the context menu?

Have a look at this article:

  http://msdn.microsoft.com/msdnmag/issues/03/12/CuttingEdge/

It explains the basics of extending the Visual Studio designer, and adding
entries to context menus ("verbs") is one of the possibilities. There's a
lot of other content on MSDN, if you want to find more information.

               Oliver Sturm
Signature

http://www.sturmnet.org/blog

Franky - 06 Dec 2006 15:17 GMT
thanks, I'll look at that now

> Hello,
>
[quoted text clipped - 9 lines]
>
>                Oliver Sturm

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.