CAxPropertyContainer Class

class CAxPropertyContainer: public _ContainerBase

This template class extends a property container with the ability to register properties in an ActiveX control.

Defined in: AxPropContainer.h

Class Template Arguments

_ContainerBase

Base container class that is extended by this template wrapper.

See Also

CPropertyContainer, IPropertyContainer

Class Members

virtual IUnknown* GetAxControl()

Return a pointer to the ActiveX control.

int RegisterAxProperties()

Register the properties of the ActiveX control with the property container.

virtual bool GetPropertyValue(const PropertyId propId, VARIANT& propVal)

Get a property value using the property ID.

virtual bool PutPropertyValue(const PropertyId propId, const VARIANT& propVal)

Set a property value using the property ID.