Command execution
TStandardCanvasView implements the following MToolHandler functions for executing tool command bindings. You should not need to override these functions. These functions take a TToolCommandBinding parameter and create a (TDocumentComponentToolCommandBinding instance that is adopted into the Document framework. See Chapter 7, "Commands, interactors, and cursor tools," for more information on the these functions.
virtual void AdoptAndDo( TToolCommandBinding* );
virtual void DoBegin( TToolCommandBinding& );
virtual void DoIncrement( TToolCommandBinding& );
virtual void AdoptAndDoEnd( TToolCommandBinding* );
Figure 13 shows the classes involved in the command binding.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker