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

Sync display and program?

This is a discussion on Sync display and program? within the MapPoint Desktop Discussion forums, part of the Map Forums category; My program, written in C# using the ActiveX Control, adds pushpins to the map faster than MapPoint can display them. ...

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

    Sync display and program?

    My program, written in C# using the ActiveX Control, adds pushpins to the map faster than MapPoint can display them. Instead of seeing a series of pushpins get added to the map, I see an empty map (no road names or pushpins, etc) flashing, then 15 or 20 pushpins and the road names appear, then back to the empty map, flashing, then 15 or 20 more pushpins appear with the road names. Etc.

    Is there a way to synchronously wait for MapPoint to finish updating the
    map? This maybe the opposite of what some people want, but I want to see every discrete update to the map.

    --
    Regards.
    Mark K Vallevand

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

    With a little trick anything is possible As far as I can see there is no event fired. But there is an interesting one: OnSelectionChanged. So if you put a pushpin on the map, then select it. I assume that OnSelectionChanged is fired "after" the pushpin is drawed. In That event you put the next pushpin.

    However there may be a problem depending on how they fire these events. I'm thinking on a stack overflow, but nevertheless there is also a trick for. I suggest you try this one first

    I just realize I never seen this behaviour in a program of me that uses the object model, there nothing is updated untill the loop finish. However the user see nothing happening, so this is in some case not very nice also.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help for a delphi program
    By tontaegu in forum MapPoint Desktop Discussion
    Replies: 13
    Last Post: 09-24-2005, 03:03 PM
  2. Chat Program / IRC applet
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 05-15-2005, 03:08 PM
  3. Problems depoying a program
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-04-2005, 03:24 PM
  4. My boss is looking for a softwear program into whi....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-29-2001, 12:18 PM
  5. Looking for a program where I can plug in zip code....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-09-2001, 08:05 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