need help editing a right-click menu

  • Thread starter Mad Scientist Jr
  • Start date
M

Mad Scientist Jr

I am editing an existing application that has a
System.Windows.Forms.TreeView with a right-click menu with several
options.

I want to get rid of the TreeView alltogether and rip out the code for
the right-click options and put these under different command buttons
instead, but I am having trouble finding the code for the options.

I remember in VB6 there was some kind of menu editor which gave the
name of the subs for the menu options, but I am not finding this in
VS.NET 2003.

How can I find the code for the menu? (and for future reference, how
would I edit the menu itself)

Much appreciated
 
C

Chris

Mad said:
I am editing an existing application that has a
System.Windows.Forms.TreeView with a right-click menu with several
options.

I want to get rid of the TreeView alltogether and rip out the code for
the right-click options and put these under different command buttons
instead, but I am having trouble finding the code for the options.

I remember in VB6 there was some kind of menu editor which gave the
name of the subs for the menu options, but I am not finding this in
VS.NET 2003.

How can I find the code for the menu? (and for future reference, how
would I edit the menu itself)

Much appreciated

Search the code for a ContextMenu. This is the object that does the
right click menu. Remember to look under the windows generated code as
well.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top