Adopting bundles

A graphic calls the AdoptBundle or AdoptAttributeState function to attach ownership of a bundle to the graphic. A graphic can have ownership of only one bundle at any one time. If the graphic already owns a bundle, the existing bundle is deleted and the new bundle is adopted. The bundle is deleted when the graphic that adopted it is deleted.

      virtual void MGraphic::AdoptBundle( TGrafBundle *bundle )
      virtual void MGraphic::AdoptAttributeState( TAttributeState *adoptedAttributeState )

[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