Community of VE/MapPoint Users and Developers
This is a discussion on Toolbar event? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I have a Windows Application with Mappoint embedded in one panel, and virtual earth in another panel. I have ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Toolbar event? I have a Windows Application with Mappoint embedded in one panel, and virtual earth in another panel. I have implemented some code to control Mappoint and VE synchronous, for example when I zoom or pan in Mappoint, VE zooms and pans synchronous and the other way round. My problem is, I need to set a flag, which program has the control to avoid a infinite loop and therefore need a event for Mappoint that is fired 100%, when I´m working with it. AfterRedraw and AfterViewChange aren´t applicable for it, because they are even fired, when I change sth via VE. The best results I got with MouseMove, but have still the problem, that I can´t find any event that is fired when I click on zoom in/out at the toolbar. So I need a event that is fired, when the mouse moves over the toolbar or sth at the toolbar is clicked. Hope somebody can help me. Regards Jörg Last edited by joerg3011; 07-23-2008 at 03:08 AM. |
| |||
|
Unfortunately, there are no events fired by the toolbar object. You could however superclass the toolbar at runtime and intercept WM_COMMAND messages for it, then check if the message is BM_CLICK. Copious example of superclassing the MapPoint application is in my GPS API article, right here on good ole MapForums.com. An API to Control MapPoint 2006 GPS Features - Part I of II HTH -Paul |
| |||
| Re: Toolbar event?
Hi Paul, thanks for your answer, unfortunately I have to check this later, because there are some issues with higher priority I have to work at first. I will post then, if it works for me. Regards jörg |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programmatically calling Toolbar buttons | Kevin_Williams | MapPoint 2006/2009 Discussion | 12 | 07-31-2007 04:56 PM |
| Enabling the Drawing toolbar using VB and MapPoint Control | spideybud | MapPoint 2006/2009 Discussion | 4 | 11-19-2004 02:03 PM |
| Creating a new toolbar | alt-088 | MapPoint 2006/2009 Discussion | 4 | 11-14-2004 06:38 AM |
| Creating a new toolbar - adding functionality | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-17-2004 10:03 AM |
| Drawing an Oval Using The Toolbar - QueryCircle? | Steve Wenck | MapPoint 2006/2009 Discussion | 1 | 08-16-2004 12:49 PM |
Ski Holiday Packages
Choose from a selection of ski holiday packages from the top travel brands. Holiday Hypermarket makes it easy to search and browse great value ski holidays.
Greece Weather
Check out Greece Weather - Travel Counsellors details information on Greece including, weather, flights and accommodation.
Flight to Canada
Book a flight to Canada to explore one of the most exciting travel destinations in the world. There are loads of interesting cities but some even more impressive natural beauty.
Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!
Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.
Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk
Holidays in Fuerteventura
Need a break? Go to the Canary Islands! Find information on holidays in Fuerteventura at On The Beach.