MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

PressToolbarButton

From MapWindow GIS

Jump to: navigation, search

The function "PressToolbarButton" (g_MapWin.Toolbar.PressToolbarButton) may be used to access the standard MapWindow toolbar buttons. The list of names which may be passed into this function are as follows:


Any toolbar added by a plug-in, plus...


tbbAddRemove (Add/Remove Layer button - the top drop-down button, therefore the last selected add/remove/clear button)

tbbZoomIn (Turns on Zoom In mode -- doesn't actually cause an immediate zoom in)

tbbZoomOut (Turns on Zoom Out mode -- doesn't actually cause an immediate zoom out)

tbbZoomPan (Turns on Pan mode -- doesn't actually cause an immediate pan)

tbbSelect (Turns on select mode -- doesn't actually cause an immediate selection)

tbbMeasure (Turns on Distance Measure mode)

tbbMeasureArea (Turns on Area Measure mode)

tbbPrint (Displays the Print dialog)

tbbSave (Saves the current project; prompting to "Save As" if not yet saved before)

tbbNew (Create a new project, prompting to save if current project has changed)

tbbOpen (Open a project, prompting to save if current project has changed)

Retrieved from "http://www.mapwindow.org/wiki/index.php/PressToolbarButton"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links