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

Multiple instances of MapPoint Control ?

This is a discussion on Multiple instances of MapPoint Control ? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Good day (and tomorrow for those in Japan), I went to use the MapPoint ActiveX control within two different instances ...

  1. #1
    tfmiltz is offline Member Green Belt
    Join Date
    Feb 2005
    Posts
    52

    Multiple instances of MapPoint Control ?

    Good day (and tomorrow for those in Japan),

    I went to use the MapPoint ActiveX control within two different instances (of 2 different forms - VB6 SP5), it seems MSMP2k4 doesn't support multiple instances of the MSMP ActiveX Control ? I got two different maps to come up, which is great, but form focus was skwewy, if a user brings focus to formA, formB gains focus to that particular instance of the MSMP control. Since birth of Windows OS, I've not seen form behaviour this tormenting for a user, heh, click form A, you gain focus to form B, guess what, you get Form A, but it's been repositioned perm. behind B.

    I have so far encountered a few cases where people sought multiple instances of MSMP, one web related where licensing issues became critical (let alone system resources), another where it is demonstrated that if you have two instances of MSMP running, you really end up with 4 instances.

    Has anyone had any success in allowing multiple MapPoint controls to function without form focus interference within the same app instance ?


    Tim Miltz
    Senior something er, uh...this moment... Microsoft MapPoint developer

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi Tim,

    If you use 2 ActiveX control (1 on each form) you have to end up with 2 MP instances running. If you end up with 4, then there is something wrong in your program. This probably explains the malbehaving focus.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 AM
  2. Multiple mappoint processes with Delphi 6
    By dradey in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-18-2005, 01:55 PM
  3. How to destroy all instances of MapPoint controls ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 01-04-2005, 04:11 AM
  4. Is it possible to have Mappoint show multiple colo....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-23-2001, 10:30 AM
  5. MapPoint 2002 Is it possible to add multiple sets ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-22-2001, 09:52 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