OCPFIPARAMS  1UQIZXD

The OCPFIPARAMS structure contains parameters used to invoke a property sheet dialog box through the OleCreatePropertyFrameIndirect function.

typedef struct tagOCPFIPARAMS

    ULONG          cbStructSize;

    HWND           hWndOwner;

    int            x;

    int            y;

    LPCOLESTR      lpszCaption;

    ULONG          cObjects;

    LPUNKNOWN FAR* lplpUnk;

    ULONG          cPages;

    CLSID FAR*     lpPages;

    LCID           lcid;

    DISPID         dispIDInitialProperty;

} OCPFIPARAMS;

 

Members

cbStructsize

Size of the OCPFIPARAMS structure.

hWndOwner

Parent window of the resulting property sheet dialog box.

x

Horizontal position for the dialog box relative to hWndOwner.

y

Vertical position for the dialog box relative to hWndOwner.

lpszCaption

Pointer to the string used for the caption of the dialog.

cObjects

Number of object pointers passed in lplpUnk.

lplpUnk

Array of IUnknown pointers on the objects for which this property sheet is being invoked. The number of elements inthe aray is specified by cObject. These pointers are passed to each property page through IPropertyPage::SetObjects.

cPages

Number of property pages specified in lpPages.

lpPages

Pointer to an array of size cPages containing the CLSIDs of each property page to display in the property sheet.

lcid

Locale identifier for the property sheet. This value will be returned through IPropertyPageSite::GetLocaleID.

dispIDInitialProperty

Property that is highlighted when the dialog box is made visible.

 

See Also

IPropertyPage::SetObjects, IPropertyPageSite::GetLocaleID, OleCreatePropertyFrameIndirect