Pointing to existing menu

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am dynamically creating a context menu (which is easy enough). What I want
to do after I create the context menu is to have each item in the menu point
to an existing second context menu (which is static and is already built on
the form).

So each item in the dynamic context menu will have a sub-menu (which is the
static context menu). But I can't figure out how to do it. Any suggestions?

Thanks,
 
I don't think you can just point a menu item to a context menu. Instead you
need to add the same items from contextMenu2 into a menu item from the
context menu that you create dynamically.

Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: Pointing to existing menu
| thread-index: AcVaR8uUg1ylCG6WTE6DVrEuohdjiw==
| X-WBNR-Posting-Host: 216.68.77.2
| From: =?Utf-8?B?bmt1c29jY2Vy?= <[email protected]>
| Subject: Pointing to existing menu
| Date: Mon, 16 May 2005 11:48:05 -0700
| Lines: 9
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.compactframework:29068
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I am dynamically creating a context menu (which is easy enough). What I
want
| to do after I create the context menu is to have each item in the menu
point
| to an existing second context menu (which is static and is already built
on
| the form).
|
| So each item in the dynamic context menu will have a sub-menu (which is
the
| static context menu). But I can't figure out how to do it. Any
suggestions?
|
| Thanks,
|
 
Back
Top