MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Show toolbars in Control

This is a discussion on Show toolbars in Control within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have the following code: Code: Dim objRoute As MapPointCtl.Route Dim objMap As MapPointCtl.Map MappointControl1.NewMap (geoMapEurope) Set objMap = MappointControl1.ActiveMap ...


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 08-21-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Show toolbars in Control

I have the following code:
Code:
Dim objRoute As MapPointCtl.Route
Dim objMap As MapPointCtl.Map

MappointControl1.NewMap (geoMapEurope)
Set objMap = MappointControl1.ActiveMap
How do add the standard Mappoint toolbar/s?

Thanks
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 08-21-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
A: "Do a simple search on this forum! "
Me: "I just did "
A: "so ?
Me: :P "MappointControl1.Toolbars.Item("Drawing").Vis ible = True"

Sorry guys....I did not search first and found the answer. Thanks anyway and sorry for the silly bother.
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 08-21-2003
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,487
Blog Entries: 1
Aren't you glad the smiley's are working?

http://www.mp2kmag.com/mappoint/disc...pic.asp?t=4115
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-29-2004
Junior Member
Yellow Belt
 
Join Date: Mar 2004
Posts: 15
that works in VB i believe but how to do the same thing in C#?!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 11-19-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
show in c#

Code:
object temp = "Drawing";
			MapPoint.Toolbar toolbar = this.axMappointControl.Toolbars.get_Item(ref temp);			toolbar.Visible = true;
This was pretty hard to track down.

kudos to Peter Provost http://www.peterprovost.org/archive/2003/08/30/759.aspx
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
control, show, toolbars


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

Similar Threads

Thread Thread Starter Forum Replies Last Post
How can I show my current gps location in the ocx control orto MapPoint 2006/2009 Discussion 2 07-16-2004 11:54 AM
Answer: How to show mappoint toolbars with C# Anonymous MapPoint 2006/2009 Discussion 6 05-13-2004 04:19 AM
Toolbars and C# ddpg MapPoint 2006/2009 Discussion 1 03-29-2004 08:29 AM
the map is empty after Show/Hide form with MapPoint control Anonymous MapPoint 2006/2009 Discussion 1 03-25-2004 04:24 PM
toolbars Fisherman´s Friend MapPoint 2006/2009 Discussion 0 09-22-2003 08:13 AM


All times are GMT -5. The time now is 06:59 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 55