Let me give a little more details and if your solution still applies I'll be
very grateful.
The context menu contains main menu items: File, Edit, and View.
Each of these have menu items on them.
The main menu has main menu items: File and View.
These also have menu items on them.
Can I put one DropDown item someplace so I can merge the context menu with
the main menu so that the File and View items merge? That would be
equivalent to what I do now.
I would like to use the strips and if it has to be, I could make a context
menu for each of the main menu items: File, Edit, and View and have a
DropDown for each. Is that what I have to do?
Thanks for staying with me. I'd love to be able to use the newer menus!
"Teemu" <ts*****@hotmail.comwrote in message
news:Eq********************@reader1.news.saunalaht i.fi...
>
"Academia" <ac************@a-znet.comkirjoitti viestissä
news:%2****************@TK2MSFTNGP04.phx.gbl...
>>
I have a UserControl that has a ContextMenu, ContextMenu1, and a
GetContextMenu public function that returns ContextMenu1.
The form containing the UserControl uses GetContextMenu to get
ContextMenu1 and merges it with it's MainMenu.
So your challenge is to do the same thing using the Strip elements!
OK, I can see your problem. One way to merge ContextMenuStrip to MenuStrip
is:
ToolStripMenuItem1.DropDown=ContextMenuStrip1
-Teemu