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

Disabling MapPoint Control Context Menu

This is a discussion on Disabling MapPoint Control Context Menu within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, Is there any way of reliably disabling the MapPoint Control context menu, given that the context menu can be ...

  1. #1
    Jonny1234 is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    10

    Disabling MapPoint Control Context Menu

    Hi,

    Is there any way of reliably disabling the MapPoint Control context menu, given that the context menu can be activated by one of:

    1. Clicking the right mouse button.
    2. Pressing Shift and F10.
    3. Pressing the APPS key (if your keyboard has one).

    Thanks for your help.

    Regards,
    Jonny

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

    Re: Disabling MapPoint Control Context Menu

    Hi Jonny,

    For the right mouse button is very easy. Just put an event handler in BeforeClick event, and if right button is clicked set cancel to true.

    For the keyboard there is a workaround of course Make a transparant panel and put it on the control. Then the panel will intercept all mouse and keyboard events.

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. How to override the context menu of mappoint with VB
    By leely in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-24-2006, 03:50 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. Disabling Cntl Key Functions from MapPoint Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-18-2003, 07:06 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