PressToolbarButton
From MapWindow GIS
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)
















