MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Programatically selecting the Pan or Select tool?

This is a discussion on Programatically selecting the Pan or Select tool? within the MapPoint 2006/2009 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 ...


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 06-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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?
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 06-25-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
You can set the point with the DragBehavior property

objMap.ActiveMap.DragBehavior = geoDragHand
objMap.ActiveMap.DragBehavior = geoDragBox
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 06-28-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Reply

Tags
pan, programatically, select, selecting, tool


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
Selecting and deleting the push pin Anonymous MapPoint 2006/2009 Discussion 1 02-10-2005 08:01 AM
Selecting cities in drivetime Anonymous MapPoint 2006/2009 Discussion 5 02-02-2005 05:21 PM
Selecting Shape Based on Name Anonymous MapPoint 2006/2009 Discussion 1 09-07-2004 11:01 AM
Select a place jimsirv MapPoint 2006/2009 Discussion 1 07-29-2004 09:04 PM
Selecting pushpins within a shape Anonymous MapPoint 2006/2009 Discussion 1 09-26-2002 09:11 AM


All times are GMT -5. The time now is 10:53 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