Community of VE/MapPoint 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 ...
| |||||||
| 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 |
Flights from Birmingham
Here at Holiday Hypermarket you can book fantastic cheap flights from Birmingham Airport. Check out the great range of destinations.
Best Travel Agent
Travel Counsellors has been named the UK's Best Travel Agent at the Guardian Unlimited Travel awards.
Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.
Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!
Portugal
As well as providing some great weather Portugal has much to offer culturally. There are numerous museums, monuments and places of historical interest to explore. Despite the rich history there is a buzzing nightlife and great shopping too.
Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk
Holidays in Sharm el Sheikh
Need booking info on holidays in Sharm el Sheikh? Visit On The Beach for more information!