COleControl::GetExtendedControl
Obtains a pointer to an object maintained by the container that represents the control with an extended set of properties.
LPDISPATCH GetExtendedControl( );
Return Value
A pointer to the container's extended control object. If there is no object available, the value is NULL.
This object may be manipulated through its IDispatch interface. You can also use QueryInterface to obtain other available interfaces provided by the object. However, the object is not required to support a specific set of interfaces. Note that relying on the specific features of a container's extended control object limits the portability of your control to other arbitrary containers.
Remarks
The function that calls this function is responsible for releasing the pointer when finished with the object. Note that the container is not required to support this object.
Requirements
Header: afxctl.h