Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Trying to use custom pop-up menu on a Mappoint VB .... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Trying to use custom pop-up menu on a Mappoint VB application. I got the map object to respond to the ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Also, is there in a VB app to have custom menu items be shown in conjunction with the mappoint menu items? |
| |||
|
John: Thanks for the follow up. The following is the code in the mouse down event in the map object. It just brings up a popup menu on the right button (2): If Button = 2 Then frmMain.SSActiveToolBars1.PopupMenu "ID_mnuMap" End If The following are my findings: 1. If I put my pop-up menu code in the mouse up event of the map object, it is being ignored and the mappoint menu is poped up. 2. If I put my pop-up menu code in the mouse down event of the map object, then the mappoint popup menu is ignored and my popup menu shows up. Also, if theuser does not respond to this popup menu with few seconds, I get a mappoint generated server error. What I realy want to be able to do is pop up my menu on the mouse up event. Also I would like to know if there is a way to append my menu items to mappoints menu items. Vic |
| |||
|
Vic, Put your code in the MouseUp event and this code in the MouseDown Event. If Button = vbRightButton Then Set wshshell = CreateObject("wscript.shell") wshshell.SendKeys "{ESC}" wshshell.SendKeys "{ESC}" End If Let me know if this works for you. John john@support-pc.com |
| |||
![]() |
| Tags |
| custom, mappoint, menu, popup |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Menu in Mappoint | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-15-2004 01:33 PM |
| Custom context menu | Anonymous | MapPoint 2006/2009 Discussion | 3 | 09-10-2004 10:15 PM |
| mappoint floating menu | starbuck | MapPoint 2006/2009 Discussion | 3 | 09-07-2004 09:58 AM |
| Mappoint Menu | starbuck | MapPoint 2006/2009 Discussion | 1 | 10-28-2003 04:01 AM |
| Is there any way to disable Mappoint 2002 popup menu? | Anonymous | MapPoint 2006/2009 Discussion | 2 | 12-12-2002 05:21 PM |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!