View Single Post

  #3 (permalink)  
Old 01-23-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
Re: MapPoint Map Refresh

Hi,

Quote:
Originally Posted by andreaplanet
The problem is that when I add a pushpin or other items on the map then the map is updated at every code instruction. Is there a way to draw some items without updating the map at every instruction?
I think this is typical behaviour of MP2004. With MP2002 this was not the case. The updating slows down but for a user it 'seems' faster. I have search but did not found any property/method to disable it.

Quote:
Is there a way to run easily some code in the MapPoint thread? I think at every instruction there is the delay for the thread switch between my application and the hidden mappoint application.
I'm pretty sure that all GUI updates happens in same main thread context. Also all method calls to MP are sync, if they should execute in a separate thread they would by async. However this is just a conclusion of me without knowing the deeper insights of mappoint. Someone will clarify if I'm wrong I hope
Reply With Quote