Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

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 Desktop 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 ...

  1. #1
    tardifj is offline 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

  2. #2
    jscott099 is offline 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Override a route
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-14-2005, 06:56 AM
  2. Mappoint 2004 & Office 2003 compatibility problem
    By javigdiaz in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-16-2004, 10:24 AM
  3. Questions with Mappoint 2004 and VB .NET 2003
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-13-2004, 05:43 AM
  4. Any sign of mappoint 2003 (2004)
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 06-05-2003, 02:39 PM
  5. Where can I find the MapPoint 2003/2004 EULA?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-02-2003, 02:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96