Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Finding MapPoint Map Window Handle

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...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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"

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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?

  4. #4
    baal_2000's Avatar
    baal_2000 is offline Junior Member Yellow Belt
    Join Date
    Jan 2003
    Location
    Toronto, ON, Canada
    Posts
    24
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83