Hiding context menus

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

Guest

Is this possible? Context menus have a show() method, but
don't seem to have any apparant way of being hidden (short
of a user clicking on or off it).
 
ContextMenu only allows you to show it and wait for it to be dismissed.
Aldo

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: <[email protected]>
| Sender: <[email protected]>
| Subject: Hiding context menus
| Date: Fri, 9 Jan 2004 07:56:49 -0800
| Lines: 3
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcPWyTDx55RWfB/oRL27YFugF0+V4w==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:42571
| NNTP-Posting-Host: tk2msftngxa12.phx.gbl 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Is this possible? Context menus have a show() method, but
| don't seem to have any apparant way of being hidden (short
| of a user clicking on or off it).
|
 
Hi

To programmatically close any menu from code I use
this.Capture=false;
(in a timer event or Control.Invoked from a background thread etc)

Cheers
Daniel
 

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

Back
Top