MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




ItineraryVisible

This is a discussion on ItineraryVisible within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi to all, is it possible to keep hidden the ItineraryVisible pane when programatically cretaing a route? I'm using MP ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-16-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
ItineraryVisible

Hi to all,

is it possible to keep hidden the ItineraryVisible pane when programatically cretaing a route? I'm using MP 2002 Europe and VB6.

Thanks a lot.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-01-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hiding The Itinerary

Simple answer, none that Im aware of, I have tried this for hours and hours, the best I have come up with is to hide the control before calculating, do the calculation, hide the Itinerary then show the control.....

anybody else got a better way?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hiding The Itinerary

The following will automatically keep a record of the current visibility and
then restore after any route calculation.

Public SavedItineraryState As Boolean


Private Sub objMap_AfterRedraw()

'save itinerary pane state on every map redraw
SavedItineraryVisible = objApp.ItineraryVisible

End Sub

Private Sub objMap_RouteAfterCalculate(ByVal Rte As MapPoint.Route)

'restore itinerary pane state after route calculate
objApp.ItineraryVisible = SavedItineraryVisible

End Sub

The directions pane does actually redraw but is closed immediately and is not noticeable on a reasonable speed system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
itineraryvisible


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 11:19 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54