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

Creating a new toolbar

This is a discussion on Creating a new toolbar within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi Everyone - I have an add-in working into mappoint 2k4. I would like to add a toolbar into the ...

  1. #1
    alt-088 is offline Junior Member White Belt
    Join Date
    Jul 2004
    Posts
    9

    Creating a new toolbar

    Hi Everyone -

    I have an add-in working into mappoint 2k4.

    I would like to add a toolbar into the mappoint application.

    Is this possible??

    Code links??

    (c#)

    thanks
    tony

  2. #2
    vidyakulkarni is offline Junior Member Yellow Belt
    Join Date
    Jul 2004
    Posts
    14

    drawing Tool bar

    here is the code: for drawing toolbar, u can draw all 4 tool bars like this.


    object bar = "Drawing";
    this.axMappointControl1.Toolbars.get_Item(ref barObj).Visible = true;

  3. #3
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    That only controls the pre-existing MapPoint toolbars.

    I think alt-088 was wanting to add his own custom toolbar? I don't think this is possible. The object api docs from Microsoft don't appear to allow custom toolbars unless there's an 'undocumented' feature that I'm not aware of.
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  4. #4
    alt-088 is offline Junior Member White Belt
    Join Date
    Jul 2004
    Posts
    9

    ok - i'll try this...

    Well -

    I've given up on trying to add a new toolbar to the mappoint application
    and have switched to a new application wrapped around the mappoint
    ocx file....

    I can drop the control onto the form with no problem -

    but how do i get the default toolbars to be displayed?

    thanks
    tony

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Toolbars

    AxMappointControl1.Toolbars.Item(1).Visible = True
    AxMappointControl1.Toolbars.Item(2).Visible = True
    AxMappointControl1.Toolbars.Item(3).Visible = True
    AxMappointControl1.Toolbars.Item(4).Visible = True

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to enable print button on standard toolbar
    By Wilfried in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-24-2005, 02:35 PM
  2. Enabling the Drawing toolbar using VB and MapPoint Control
    By spideybud in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-19-2004, 03:03 PM
  3. Creating a new toolbar - adding functionality
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-17-2004, 11:03 AM
  4. Drawing an Oval Using The Toolbar - QueryCircle?
    By Steve Wenck in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-16-2004, 01:49 PM
  5. Enabling only the zoom function of the Navigation Toolbar
    By cathsaigh in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-31-2002, 03:23 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96