QACONTAINER
The QACONTAINER
structure is used in IQuickActivate::QuickActivate to specify container
information.
typedef struct tagQACONTAINER
{
ULONG cbSize;
IOleClientSite* pClientSite;
IAdviseSinkEx* pAdviseSink;
IPropertyNotifySink* pPropertyNotifySink;
IUnknown* pUnkEventSink;
DWORD dwAmbientFlags;
OLE_COLOR colorFore;
OLE_COLOR colorBack;
IFont* pFont;
IOleUndoManager* pUndoMgr;
DWORD dwAppearance;
LONG lcid;
HPALETTE hpal;
struct
IBindHost* pBindHost;
} QACONTAINER;
Members
cbsize
Specifies the
size of the structure in bytes.
pClientSite
Pointer to an
IOleClientSite
interface in the container.
pAdviseSink
Pointer to an
IAdviseSinkEx
interface in the container.
pPropertyNotifySink
Pointer to an
IPropertyNotifySink
interface in the container.
pUnkEventSink
Pointer to an
IUnknown
interface on the container s sink object.
dwAmbientFlags
Specifies a
number of ambient properties supplied by the container using values from the QACONTAINERFLAGS enumeration.
colorFore
Specifies
ForeColor, an ambient property supplied by the container with a DISPID = -704.
colorBack
Specifies
BackColor, an ambient property supplied by the container with a DISPID = -701.
pFont
Specifies
Font, an ambient property supplied by the container with a DISPID = -703.
pUndoMgr
Pointer to an
IOleUndoManager
interface in the container.
dwAppearance
Specifies
Appearance, an ambient property supplied by the container with a DISPID = -716.
lcid
Specifies
LocaleIdentifier, an ambient property supplied by the container with a DISPID =
-705.
hPal
Specifies
Palette, an ambient property supplied by the container with a DISPID = -726.
pBindHost
Pointer to an
IBindHost interface in the container.
Remarks
If an
interface pointer in the QACONTAINER structure is NULL it does not
indicate that the interface is not supported. In this situation, the control
should use QueryInterface to obtain the interface pointer in the
standard manner.
See Also