Hello, I am just wondering how I can get the handle to the main map window in MapPoint 2002.
Thanks
This is a discussion on Finding MapPoint Map Window Handle within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello, I am just wondering how I can get the handle to the main map window in MapPoint 2002. Thanks...
Hello, I am just wondering how I can get the handle to the main map window in MapPoint 2002.
Thanks
Check out this article/sample program
http://www.mp2kmag.com/articles.asp?ArticleID=74
Quote from the article
"This can be done using the Windows API functions that are prototyped in “basMain” of the application"
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
It seems to me that this will give me a handle to the main app window, but not the map window. The reason I need a handle to the map window itself is that I want to perform my own low level paint operations using the map device context after calling GetDC on the returned handle.
Any ideas?
this should help:
http://www.mp2kmag.com/mappoint/disc...pic.asp?t=3790
l guess
Public Property Get hWnd()
in class MapPoint is the cure.
Sergiy
There are currently 1 users browsing this thread. (0 members and 1 guests)