MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to override the context menu of mappoint with VB

This is a discussion on How to override the context menu of mappoint with VB within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I'm building an application using the MapPoint control. But I don't know how to override the context menu. Someone ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-22-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 3
Send a message via MSN to leely
Question How to override the context menu of mappoint with VB

Hi, I'm building an application using the MapPoint control. But I don't know how to override the context menu. Someone can answer me? Please attach some VB code. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-23-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: How to override the context menu of mappoint with VB

Hi,

You can do this in BeforeClick event. There you check the button and set Cancel to false if needed. Then display your own popup menu.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-23-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 3
Send a message via MSN to leely
Re: How to override the context menu of mappoint with VB

sorry, I am a beginner using VB. Now my problem is how to create my own popup menu within VB. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 11-24-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 3
Send a message via MSN to leely
Re: How to override the context menu of mappoint with VB

ok, I had resolved it by myself!ha...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
context, mappoint, menu, override


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/how-override-context-menu-mappoint-vb-5386.html

Posted By For Type Date
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 11-23-2006 12:05 PM
Formatting coordinates with DmsFormat, linking to weather data, three new utilities - MP2K Update Archives - MP2K Magazine This thread Refback 11-23-2006 12:05 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
By Right-click displaying context menu on map Banu MapPoint 2006/2009 Discussion 19 10-16-2007 08:46 AM
Disable Context menu Anonymous MapPoint 2006/2009 Discussion 10 05-27-2005 02:03 PM
Custom context menu Anonymous MapPoint 2006/2009 Discussion 3 09-10-2004 11:15 PM
Extending MapPoint - How about the Context Menu Enhancements Anonymous MapPoint 2006/2009 Discussion 2 02-10-2004 10:38 AM
VB.NET & overriding the map point context menu... Anonymous MapPoint 2006/2009 Discussion 0 09-05-2002 09:25 AM


All times are GMT -5. The time now is 04:01 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54