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 4 of 4

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

  1. #1
    leely is offline Junior Member White Belt
    Join Date
    Nov 2006
    Posts
    3

    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!

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

  3. #3
    leely is offline Junior Member White Belt
    Join Date
    Nov 2006
    Posts
    3

    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!

  4. #4
    leely is offline Junior Member White Belt
    Join Date
    Nov 2006
    Posts
    3

    Re: How to override the context menu of mappoint with VB

    ok, I had resolved it by myself!ha...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disable Context menu
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 12
    Last Post: 12-23-2008, 01:05 PM
  2. By Right-click displaying context menu on map
    By Banu in forum MapPoint Desktop Discussion
    Replies: 19
    Last Post: 10-16-2007, 08:46 AM
  3. Custom context menu
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-10-2004, 11:15 PM
  4. Extending MapPoint - How about the Context Menu Enhancements
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-10-2004, 10:38 AM
  5. VB.NET & overriding the map point context menu...
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-05-2002, 09:25 AM

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