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 2 of 2

Extending the MapPoint ActiveX Control Question

This is a discussion on Extending the MapPoint ActiveX Control Question within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a question based on the article by Sergiy Pavlov - Extending the MapPoint ActiveX Control - Pt. I. ...

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

    Extending the MapPoint ActiveX Control Question

    I have a question based on the article by Sergiy Pavlov - Extending the MapPoint ActiveX Control - Pt. I.

    I am buildind my own ActiveX Control which incorporates the MapPoint ActiveX Control and I am trying to use the method by Sergiy but it is not working. Debugging Details:

    When the following code is executed:
    Set m_Map = m_MapPointCtrl.NewMap(geoMapEurope)

    Private Sub m_MapPointCtrl_ReadyStateChange() ' is called
    If m_MapPointCtrl.ReadyState = READYSTATE_COMPLETE Then
    'Initialize and remember
    m_hWnd_Frame = hWnd_Frame
    End If

    End Sub

    ... continues in clsMapPoint ...

    If m_hWnd_Frame = 0 Then

    TWnd.hWnd = m_ParentWnd.hWnd
    ' TWnd.hWnd gets its value e.g. 2229032

    TWnd.hWnd = TWnd.FindChildWindow("ATL:", vbNullString, False).hWnd

    .... continues in TWindow ....

    FindChildWindow.hWnd = GetWindow(mvarhWnd, GW_CHILD)
    ' mvarhWnd= 2229032 GW_CHILD =5

    GetWindow RETURNS ALWAYS 0

    1) Do you have any idea about correcting this problem?
    2) The ActiveX Control is being displayed in the Internet Explorer Browser. Does this has anything to do with the problem?

    tia
    Nikos Georgopoulos

  2. #2
    baal_2000's Avatar
    baal_2000 is offline Junior Member Yellow Belt
    Join Date
    Jan 2003
    Location
    Toronto, ON, Canada
    Posts
    24

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extending the MapPoint ActiveX Control - Pt. II
    By Anonymous in forum MP2K Magazine Articles
    Replies: 3
    Last Post: 06-09-2007, 06:11 PM
  2. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 10:16 AM
  3. mappoint ActiveX control 9.0
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-21-2004, 06:22 AM
  4. MapPoint ActiveX Control Question
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-12-2004, 02:57 PM
  5. Extending the MapPoint ActiveX Control - Pt. I
    By Anonymous in forum MP2K Magazine Articles
    Replies: 1
    Last Post: 05-16-2003, 10:59 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