Community of MapPoint and Virtual Earth 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 ...
| |||||||
| Today's Posts | Twitter Feed | 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 |
![]() |
| Tags |
| event, toolbar |
| ||||
| Posted By | For | Type | Date | |
| Toolbar event? - MapPoint Forums | This thread | Refback | 09-17-2008 04:22 PM | |
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 |
Tenerife Holiday
Find a great deal on a Tenerife holiday through UlookUbook! Check out the options online...
PUBS
You can visit all the pubs looking for the one you would enjoy. Or browse the reviews on Qype.