Implementing Persistent Properties for OLE ControlsLast reviewed: October 12, 1995Article ID: Q124176 |
The information in this article applies to:
SUMMARYThe OLE Control Developer's Kit (CDK) "Programmer's Reference" documents four methods for creating custom properties:
MORE INFORMATIONWhen modifying a persistent property, call the COleControl::SetModifiedFlag function to indicate that the control's persistent state has changed and needs to be saved. The following three methods for implementing custom properties provide a function from which you can call SetModifiedFlag():
NOTE: The OLE CDK Tutorial, Chapter 5, discusses implementing a custom persistent property (FlashColor) to the CIRC Ole Control by using the Member Variable method. This discussion is designed solely to demonstrate how to use the Member Variable method to implement a custom property. The technique should not be used for persistent properties.
|
Additional reference words: kbinf 1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |