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 3 of 3

Programatically selecting the Pan or Select tool?

This is a discussion on Programatically selecting the Pan or Select tool? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All, Does anyone know how to pick the mouse tool from within a program? I am using the OCX ...

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

    Programatically selecting the Pan or Select tool?

    Hi All,

    Does anyone know how to pick the mouse tool from within a program? I am using the OCX and only want expose a portion of what is on the standard toolbar.

    All the other stuff is under control, but I can't seem to find a way to do the relatively simple task of changing the mouse tool from pan to select and vise versa.

    I wish there was something like

    mpApp.ActiveTool = geoPanTool

    but there does not seem to be.

    Can someone out there please embarrass me with a simple answer?

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    You can set the point with the DragBehavior property

    objMap.ActiveMap.DragBehavior = geoDragHand
    objMap.ActiveMap.DragBehavior = geoDragBox

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Selecting and deleting the push pin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-10-2005, 08:01 AM
  2. Selecting cities in drivetime
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 02-02-2005, 05:21 PM
  3. Selecting Shape Based on Name
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-07-2004, 11:01 AM
  4. Select a place
    By jimsirv in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-29-2004, 09:04 PM
  5. Selecting pushpins within a shape
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-26-2002, 09:11 AM

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