Community of VE/MapPoint Users and Developers
This is a discussion on Disable right mouse button within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi to all. I need to disable right mouse button when i am over the map with the pointer. How ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
|
There was a previous discussion in here on the topic.. hope this helps: http://www.mp2kmag.com/mappoint/disc...pic.asp?p=5978 Eric
__________________ |
| |||
|
Hi Eric. This code does not work!! Private Sub MappointControl1_BeforeClick(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long, Cancel As Boolean) If Button = 1 Then Cancel = True End If End Sub I've tried it but right and left button are all enabled! I use AxMappointControl1 as name with my control so my code is Private Sub AxMappointControl1_BeforeClick(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long, Cancel As Boolean) If Button = 1 Then Cancel = True End If End Sub I work with Visual Basic.NET |
![]() |
| Tags |
| button, disable, mouse |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I hide or disable the optimisation button? | stephenmillington | MapPoint 2006/2009 Discussion | 0 | 08-30-2005 06:18 AM |
| who to locate a pushpin with a rigth button | Anonymous | MapPoint 2006/2009 Discussion | 0 | 06-29-2004 02:41 PM |
| Remove Close Button | Dazzer | MapPoint 2006/2009 Discussion | 0 | 04-01-2004 06:56 AM |
| Disable left mouse button | dearmhr | MapPoint 2006/2009 Discussion | 0 | 12-22-2003 11:48 AM |
| Disable Right mouse button | Fisherman´s Friend | MapPoint 2006/2009 Discussion | 2 | 12-17-2003 09:48 AM |