MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Override Mp 2004 Contextual menus with VB .Net 2003

This is a discussion on Override Mp 2004 Contextual menus with VB .Net 2003 within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Using VB .NET 2003, I can override the MapPoint contextual menu and show mine instead (in AxMappointControl1_MouseDownEvent). My problem ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 1
Override Mp 2004 Contextual menus with VB .Net 2003

Hi,

Using VB .NET 2003, I can override the MapPoint contextual menu and show mine instead (in AxMappointControl1_MouseDownEvent).

My problem is that it looks that the events of each menu item can't be fired. Here is how I declare the events in Form1_Load :

mnuItem1 = New MenuItem("Menu One", New EventHandler(AddressOf MenuOne_Click))

And my Event handler is declared as follows :

Public Sub MenuOne_Click(ByVal source As Object, ByVal e As EventArgs)
MsgBox("Menu one has been clicked")
End Sub

While right-clicking on the map, my contextual menu is displayed. If I click on the menu item, the MsgBox will never be displayed (thus, my event is not fired)...

What is my problem? Any ideas?

Thank you

Jacques Tardif
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 03-29-2004
Junior Member
White Belt
 
Join Date: Oct 2003
Posts: 8
dialog boxes

I don't think you can put up any kind of dialog box when trapping mouse events or the select event
__________________
Jesse Scott
Varicom, Inc.
Service Management Optimization Dispatching Solutions
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
2003, 2004, contextual, menus, net, override


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
Override a route Anonymous MapPoint 2006/2009 Discussion 1 03-14-2005 06:56 AM
Mappoint 2004 & Office 2003 compatibility problem javigdiaz MapPoint 2006/2009 Discussion 2 12-16-2004 10:24 AM
Questions with Mappoint 2004 and VB .NET 2003 Anonymous MapPoint 2006/2009 Discussion 1 04-13-2004 05:43 AM
Any sign of mappoint 2003 (2004) Anonymous MapPoint 2006/2009 Discussion 5 06-05-2003 02:39 PM
Where can I find the MapPoint 2003/2004 EULA? Anonymous MapPoint 2006/2009 Discussion 1 06-02-2003 02:54 PM


All times are GMT -5. The time now is 02:47 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