MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Finding MapPoint Map Window Handle

This is a discussion on Finding MapPoint Map Window Handle within the MapPoint 2006/2009 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...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-21-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Finding MapPoint Map Window Handle

Hello, I am just wondering how I can get the handle to the main map window in MapPoint 2002.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-22-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-22-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hmmmm

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-04-2003
Junior Member
Yellow Belt
 
Join Date: Jan 2003
Posts: 23
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
finding, handle, map, mappoint, window


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
MAPPOINT doesn't work as Window Service michele MapPoint 2006/2009 Discussion 6 10-17-2005 01:15 PM
Getting the Handle of the MapPoint Control... joer1234 MapPoint 2006/2009 Discussion 1 09-30-2004 12:35 PM
Getting the directions window back Anonymous MapPoint 2006/2009 Discussion 2 04-01-2004 04:59 PM
Can Mappoint handle Zip + 4 format while computing distances Anonymous MapPoint 2006/2009 Discussion 0 12-29-2003 04:17 PM
Will Mappoint 2002 handle the following [with poss.... Anonymous MapPoint 2006/2009 Discussion 1 09-14-2001 10:06 AM


All times are GMT -5. The time now is 12:58 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55