Community of VE/MapPoint Users and Developers
This is a discussion on Offscreen MapPoint Draw? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Has anyone devised a way to get mappoint to draw to another buffer other than the screen when using MP ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| EvetsMostel |
| |||
| Re: Offscreen MapPoint Draw?
Hi, I'm not sure I understeand your question but you can have a hidden activeX component then it will draw not to the screen.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Offscreen MapPoint Draw?
What I mean is this: I am driving mappoint to zoom and pan where I want via an ActiveX interface and MFC (C++). This works fine. However, I want Mappoint to draw to an offscreen buffer instead of the screen, and then I want to copy that view to the screen with some changes. However, I've tried copying from the many windows that mappoint has (the DC), but I don't get anything if mappoint is not visible. I've tried using CopyMap and the clipboard, but that doesn't give me the current view, it just gives me a default view (in this case of the US). It also doesn't include pushpins I have added. |
| |||
| Re: Offscreen MapPoint Draw?
Hi, You have to select an area (eventually the whole area of the view), the use the SelectedArea.Copy method.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Offscreen MapPoint Draw?
They are Sometime problems with the CopyMap Method? I have a method that uses the SelectedArea.Copy method if Selection is not nothing and else CopyMap method like in the follwoing Code-Snippet: If Not m_oMapPoint.ActiveMap.Selection Is Nothing Then m_oMapPoint.ActiveMap.SelectedArea.Copy Else m_oMapPoint.ActiveMap.CopyMap End If In a a costumer-system (xp SP2) they seems to have sometimes problems with the clipboard after CopyMap. Because then the experssion "m_oLEAD.Paste(PASTE_ISREADY) <> 0 " is false. Did somebody had the same problems? |
| |||
| Re: Offscreen MapPoint Draw?
Hi, What is: m_oLEAD.Paste(PASTE_ISREADY) ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Offscreen MapPoint Draw?
Hi, I have no idea what a lead control is, but what problem exacly do you have with the clipboard ? Also you say 'sometime', so under which circumstances ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Offscreen MapPoint Draw?
Hi, But what exacly is the problem with the clipboard ? BTW it is not a Dell machine with Embassy Trust Suite installed ? If so uninstall the thing, it is very buggy.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| draw, mappoint, offscreen |
| ||||
| Posted By | For | Type | Date | |
| Microsoft MapPoint 2006 - MP2K Magazine | This thread | Refback | 04-17-2007 01:59 PM | |
| MapPoint Gets New General Manager - MapPoint News - MP2K Magazine | This thread | Refback | 04-14-2007 08:48 AM | |
| Using Virtual Earth in a Vista Gadget - MapPoint Articles - MP2K Magazine | This thread | Refback | 04-09-2007 04:04 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Draw multiple routes with MapPoint 2004? | MD2000 | MapPoint 2006/2009 Discussion | 9 | 06-19-2008 03:04 AM |
| to draw my own map | rushang | MapPoint 2006/2009 Discussion | 0 | 01-23-2005 10:55 PM |
| Tool to draw TomTom/NMEA GPS log in MapPoint | Anonymous | News and Announcements | 0 | 05-20-2004 08:49 AM |
| draw multiple routes | spirido | MapPoint 2006/2009 Discussion | 1 | 04-01-2004 07:11 AM |
| Hi I have a problem. When i draw a line and the.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-15-2002 10:06 AM |
Orlando Flights
Holidays in Orlando are fantastic for families. There are a massive range of spectacular theme parks. Let Holiday Hypermarket book you great value Orlando flights and hotels.
Italy Weather
Check Italy Weather before you travel. We provide information on Italy including weather, flights and accommodation.
Turkey Holiday
Any Turkey Holiday should include a visit to Anadolu; the Anatolian high central plateau is where Turkish culture is rooted. Book a cheap Turkey Holiday online at dealchecker.co.uk.
Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.
Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com
Holidays
At Travel.co.uk the options for holidays are endless. Do some online comparison shopping!
Holidays in Cyprus
Visit the tombs of the island kings! Visit On The Beach for information on holidays in Cyprus.