PDA

View Full Version : Hi I am suing Mappoint OCX in my application. N....



Anonymous
06-20-2002, 03:21 AM
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.

Eric Frost
06-20-2002, 03:21 AM
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