PC Review


Reply
Thread Tools Rate Thread

Guess I have to give up trying to clone a menu!

 
 
Allen
Guest
Posts: n/a
 
      8th Mar 2006
Guess I have to give up!

I tried hard to figure a way with the new toolmenustrip but it's not
possible.

When I went from VB6 to VB.net I found I could generate a context menu in a
usercontrol and pass it to a form which merged it with the forms menu.

For all those menu items the form had to know nothing. If one was clicked
the usercontrol responded directly.

Unbelievable all the code I dumped that use to keep the forms menu updated
and called usercontrol methods for menuitem clicks.

Now comes VS2005 with such nice menu I want to use them but I can not figure
a way to create a usercontrol contextmenu and pass it to the form so that
both the context and mainmenu. I tried to write my own ContextMenu clone but
ran into problems there.

Seems that no matter what I tried it either did not work of if it did it
simply moved the items from one menu to another.

So why this post?

Before I go the VS2003 way I want to be sure a better VS2005 way is not
coming soon.

Is there an VS2005 update in the works?

Does it include anything that would help me?
A clone method for the menus would be great.

I noticed that MS generated merge methods that make the usual MDI menu
updates work.

Even if the clone could only handle ToolStripMenuItems that would go a long
way.

Or if one of the possible drop down items was a cloneableMenuItem and the
other types were ignored in a clone.


Thanks for any input as to what's coming from MS.










 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: I have been trying get this pop mail for over a year i give up every ones post seems to have the same problem Dave Windows Vista Mail 0 28th Jun 2008 03:35 AM
to clone or not to clone mark kubicki Microsoft Access Form Coding 0 29th Aug 2006 01:12 AM
Trying to get DPM to work, AD errors (I guess) ... TheBurgerMan Microsoft Windows 2000 Active Directory 1 13th Jun 2006 09:03 PM
To Clone or Not To Clone? =?Utf-8?B?QnJpYW4gS2VhdGluZw==?= Microsoft C# .NET 4 24th Oct 2005 09:56 AM
how do i CLONE a machine and then give it it's own license? Jeff W Windows XP New Users 5 16th Aug 2005 11:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:18 AM.