Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Managing Toolbars (In .Net)

This is a discussion on Managing Toolbars (In .Net) within the MapPoint Desktop Discussion forums, part of the Map Forums category; I can turn a toolbar on or off as follows: AxMappointControl1.Toolbars.Item("Navigation").Vis ible = True Is there any way to manage ...

  1. #1
    EdB
    EdB is offline Member Green Belt
    Join Date
    Aug 2002
    Posts
    56

    Managing Toolbars (In .Net)

    I can turn a toolbar on or off as follows:

    AxMappointControl1.Toolbars.Item("Navigation").Vis ible = True

    Is there any way to manage individual tools? For instance, on the drawing toolbar, the only tool I want visible is the pushpin.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    I dont think this is possible. Solution for you could be to make your own toolbar.

  3. #3
    EdB
    EdB is offline Member Green Belt
    Join Date
    Aug 2002
    Posts
    56
    make my own toolbar, eh......

    Within Mappoint or VS?

    If Mappoint, can you point me in the right direction there?

    If VS, are there examples of how I can emulate such behavior as placing a pushpin on a map based on a point and click?

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Not in mappoint, I did mean in your application. I have no example, sorry. But I think you only need a few things. So what you wants you put on a panel, and further you can in fact do as if you where writing some kind of drawing program. You have OnMouseMove with x,y as arguments, OnBeforeClick where you can disable mappoint popup menu, and eventuall display your own, and further you can in code put pushpins, shapes etc on the map.

    I hope this helps a little..

  5. #5
    gopi1220 is offline Junior Member White Belt
    Join Date
    Feb 2009
    Posts
    1

    Re: Managing Toolbars (In .Net)

    Hi

    object o = "Standard";
    axMappointControl1.Toolbars.get_Item(
    ref o).Visible = true;

    when i say above statement it is showing the standard tool bar , but save and print option is in disable mode . how can i enable those

    Thanks in advance

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Re: toolbars in mfc dialog
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-04-2005, 06:39 AM
  2. ToolBars Color
    By Gianmaria in forum MapPoint Desktop Discussion
    Replies: 9
    Last Post: 05-17-2005, 03:01 PM
  3. Toolbars and C#
    By ddpg in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-29-2004, 08:29 AM
  4. toolbars
    By Fishermanīs Friend in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-22-2003, 08:13 AM
  5. Toolbars
    By Bart Vervenne in forum Wish List
    Replies: 0
    Last Post: 04-11-2003, 02:38 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 56 57 58 59