problem with context menu

  • Thread starter Thread starter ibad
  • Start date Start date
I

ibad

I am developinp an application with VB.NET on Windows CE.NET 4.2 platform.
I want to display context menu on a ListView but when I run the
Application the context menu doesnot appear.I don't know what is the
problem.
Could anyone help me?
 
I ran into the same issue with CE 4.1 - there was just no combination of
keys available on the device to raise a context menu, even though the code
worked great in the emulator. (Tap and hold works on PPC, but not on my
device.) I ended up using a regular menu and applying its action against the
currently selected item in the listview, and the users are happy.
 
Hi,

There aren't any known issues with context menus and listviews. Be sure
you've set 'listView1.ContextMenu = yourContextMenu;' and your context menu
has some items. Your context menu should appear when you right click on
the control. You can also manually show your context menu using
'yourContextMenu.Show()'.

-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| Subject: problem with context menu
| From: (e-mail address removed) (ibad)
| Mime-Version: 1.0
| Content-Type: text/plain; charset=ISO-8859-15; format=flowed
| Content-Transfer-Encoding: 8bit
| User-Agent: NewsPortal/0.28 (http://florian-amrhein.de/newsportal/)
| X-HTTP-Posting-Host: 62.56.132.55
| Organization: http://www.cewindows.net/newsportal/
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Date: Wed, 28 Jan 2004 00:07:23 -0800
| NNTP-Posting-Host: 64.246.18.3
| Lines: 1
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:44202
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
|
| I am developinp an application with VB.NET on Windows CE.NET 4.2
platform.
| I want to display context menu on a ListView but when I run the
| Application the context menu doesnot appear.I don't know what is the
| problem.
| Could anyone help me?
|
|
 
Back
Top