spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

738 ketan parekh - June 20, 2002

Hi I am suing Mappoint OCX in my application. Now i am connectiing 2 pushpins by drwaing a line. And when i release the mouse on the 2nd pushpin i.e destination pushpin, i want to display the Road Distance between these 2 points. I am using Waypoints collection of Route objkect, but i get that window of Route which i do not want. Is there a way to close this window after calculating Road Distance or Is there a other way to calculate Road Distance? Source Code, if given will be great.

Answer:
June 20, 2002
If I understand correctly, you want to use the PaneState property. Do something like:
MPCtrl.PaneState = geoPaneNone
(see the Help File for more details) - Eric

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.