template <class T, const CLSID *pRuntimeClsID, DWORD dwRuntimePersistenceSupport = ISUPPORT_IPERSISTSTREAMINIT, DWORD dwRuntimeMiscStatusFlags = 0>
class ATL_NO_VTABLE IActiveDesignerImpl : public IActiveDesigner
Parameters
T
Your derived class.
pRuntimeClsId
Class ID of derived class T.
dwRunTimePersistenceSupport
The types of persistence that the run-time object supports. The run-time object must support the same persistence interfaces that the design-time object supports; support for stream persistence is implicit. This value is the logical OR of one or more the following:
ISUPPORT_IPERSISTSTREAMINIT
ISUPPORT_IPERSISTSTORAGE
ISUPPORT_IPERSISTPROPERTYBAG
ISUPPORT_ALLPERSISTENCE
dwRuntimeMiscStatusFlags
OLE miscellaneous status flags that pertain to this object.
This class provides the default implementation of the IActiveDesigner interface.
#include <adbase.h>
Method | Description |
GetRuntimeClassID (CLSID *pclsid) | Returns the class ID of the run-time object. |
GetRuntimeMiscStatusFlags (DWORD *pdwMiscFlags) | Returns the OLE miscellaneous status flags. |
QueryPersistenceInterface (REFIID riidPersist) | Inquires whether the object supports a specified persistence method. |
SaveRuntimeState (REFIID riidPersist, REFIID riidObjStgMed, void *pObjStgMed) | Saves state information for the run-time object. |
GetExtensibilityObject (IDispatch **ppvObjOut) | Returns the object that the container can extend. |
IActiveDesignerImpl also includes corresponding methods named IActiveDesigner_QueryPersistenceInterface, IActiveDesigner_SaveRuntimeState, and IActiveDesigner_GetExtensibilityObject. You can override these methods in your derived class to provide designer-specific IActiveDesigner functionality.
See Also