Model binding

TStandardCanvasModelSelection implements the MCanvasSelection GetCanvasRepresentation and Invalidate functions to bind itself to a standard canvas model. The Invalidate function sends a TStandardCanvasSelectionNotification, which has a model interest, a copy of the selection, and the changed area.

The following code fragment shows the TStandardCanvasSelectionNotification class constructor and accessor functions.

      TStandardCanvasSelectionNotification(   const TModelInterest&, 
    const TStandardCanvasModelSelection&,
    const TGArea ); virtual const TStandardCanvasModelSelection* GetSelection() const; virtual TGArea GetArea() const; virtual GetArea( TGArea& ) const;

[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