AFXToolsetGui

This is the base class for toolset GUIs and provides an interface for managing the toolset's GUI items. It provides a mechanism to add in menubar, toolbar, and toolbox GUI items.


AFXToolsetGui(toolsetName)

Constructor.

ArgumentTypeDefaultDescription
toolsetNameString Toolset name passed in from derived toolsets.


activate()

Activates the toolset (if there is no mode factory, then this method need not be redefined).


deactivate()

Deactivates the toolset (if there is no mode factory, then this method need not be redefined).


getToolsetName()

Returns the name of the toolset given on construction.


hide(location)

Hides the GUI components in the menubar, toolbar, and toolbox.

ArgumentTypeDefaultDescription
locationInt Location where GUI components are placed.


show(location)

Shows the GUI components in the menubar, toolbar, and toolbox.

ArgumentTypeDefaultDescription
locationInt Location where GUI components are placed.