Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Determine if Map has been closed within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I was wondering if there is an easy way of determining if a map has been closed by the ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Determine if Map has been closed Is there something that I can check to determine if the map is still running and if not create a new map. Thanks |
| |||
|
Hi, I'm not sure I full understeand you. But as far as I do you run an external instance of mappoint that you use, and you want to know if this instance has closed by the user, right ? Very simple. Start the instance with the win32 API call CreateProcess. Then you can use GetExitCodeProcess API call to check if the instance is still alive. If not then you can start an instance again using the same API call.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| closed, determine, map |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Determine if a shape is behind roads? | Anonymous | MapPoint Desktop Discussion | 0 | 03-30-2005 10:15 AM |
| Determine if a polyline is closed? | Anonymous | MapPoint Desktop Discussion | 4 | 03-29-2005 11:37 AM |
| MapPoint Gets closed on its own | Anonymous | MapPoint Desktop Discussion | 11 | 01-09-2005 04:52 AM |
| If I draw a closed shape around some pushpins, and.... | Anonymous | MapPoint Desktop Discussion | 1 | 03-09-2002 10:48 PM |
| Export to Excel works from 'closed shapes'. Is i.... | Anonymous | MapPoint Desktop Discussion | 1 | 03-04-2002 09:54 AM |