QACONTAINER  4KIXLX

The QACONTAINER structure is used in IQuickActivate::QuickActivate2HLCPDP 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 IOleClientSiteJ94VBS interface in the container.

pAdviseSink

Pointer to an IAdviseSinkEx44.MZHU interface in the container.

pPropertyNotifySink

Pointer to an IPropertyNotifySink7DIPYB interface in the container.

pUnkEventSink

Pointer to an IUnknown1NEM0LU interface on the container s sink object.

dwAmbientFlags

Specifies a number of ambient properties supplied by the container using values from the QACONTAINERFLAGS488.6M 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 IOleUndoManagerZV.YDH 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

IQuickActivate::QuickActivate, QACONTAINERFLAGS