Community of VE/MapPoint Users and Developers
This is a discussion on Preventing display of menu on R. Click of MapPoint Control within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Can someone tell me how I go about coding in VB6 how to intercept and prevent the context menu from ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Preventing display of menu on R. Click of MapPoint Control Thanks,
__________________ J. R. |
| ||||
|
There is some discussion about this here.. : http://www.mp2kmag.com/mappoint/disc...pic.asp?t=4315 Ah, here is a better discussion..: http://www.mp2kmag.com/mappoint/disc...pic.asp?p=5974 Try using the Google search box at the bottom and restrict the search to mp2kmag.. also try the forum's built-in search feature above. hope this helps! Eric
__________________ |
| |||
| Easy way in VC++ ///////////////////////////////////////////////////////////////////////////// // JMapPointCtrl message handlers void JMapPointCtrl::OnParentNotify( UINT message, LPARAM lParam ) { if (message == WM_RBUTTONDOWN) { SetCapture(); } } void JMapPointCtrl::OnRButtonUp( UINT nFlags, CPoint point ) { //Just swallow this event to disable the shortcut menu ReleaseCapture(); } |
| |||
| Re: Preventing display of menu on R. Click of MapPoint Contr
Hi, put an eventhandler in before click and set cancelto true
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| click, control, display, mappoint, menu, preventing |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Click events of context menu are not firing.... | Learner | MapPoint 2006/2009 Discussion | 6 | 05-12-2008 03:33 PM |
| By Right-click displaying context menu on map | Banu | MapPoint 2006/2009 Discussion | 19 | 10-16-2007 08:46 AM |
| mappoint 2002 - Disable "click the logo and display hel | Anonymous | MapPoint 2006/2009 Discussion | 0 | 10-12-2003 08:39 PM |
| Preventing 'Save As' Dialog (using the OCX!) | daxydoggie | MapPoint 2006/2009 Discussion | 1 | 08-15-2003 03:07 PM |
| Is there a way to control the display of town name.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-06-2001 09:42 AM |