Guidelines
- Derive a subclass from TGUIEmbedderModel.
- Use the Adopt and Orphan methods of the superclass to provide data access functions for the embedded model.
- Provide a function that determines which model to use for adoption. This depends on whether the model data is native or foreign.
- Provide functions to absorb the data into your native model or embed the newly-added component.
- Use the TGUIEmbedderModelSelectionFor<> class to add support for moving and resizing embedded components.
This class mixes in MEmbeddedComponentAccessor. This provides you with standard methods for resizing and moving embedded components.
- Provide appropriate interfaces to allow the selection of components.
[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