OLEUIOBJECTPROPS

This structure is used to initialize the standard Object Properties dialog box. It contains references to interfaces used to gather information about the embedding or link, references to three structures that are used to initialize the default tabs — General (OLEUIGNRLPROPS), View (OLEUIVIEWPROPS), and Link (OLEUILINKPROPS), if appropriate — and a standard property-sheet extensibility interface that allows the caller to add additional custom property sheets to the dialog box.

typedef struct tagOLEUIOBJECTPROPS 
{ 
 
// These IN fields are standard across all OLEUI property sheets. 
 
    DWORD    cbStruct; 
    DWORD    dwFlags; 
 
// Standard PROPSHEETHEADER used for extensibility 
    LPPROPSHEETHEADER        lpPS; 
 
// Data which allows manipulation of the object 
    DWORD    dwObject; 
    LPOLEUIOBJINFO        lpObjInfo; 
 
// Data which allows manipulation of the link 
    DWORD    dwLink; 
    LPOLEUILINKINFO        lpLinkInfo; 
 
// Data specfic to each page 
    LPOLEUIGNRLPROPS        lpGP; 
    LPOLEUIVIEWPROPS        lpVP; 
    LPOLEUILINKPROPS        lpLP; 
 
} OLEUIOBJECTPROPS, *POLEUIOBJECTPROPS, FAR* LPOLEUIOBJECTPROPS; 
 

Members

cbStruct
Size of the structure in bytes.
dwFlags
Contains in/out global flags for the property sheet.
OPF_OBJECTISLINK
Object is a link object and therefore has a link property page.
OPF_NOFILLDEFAULT
Do not fill in default values for the object.
OPF_SHOWHELP
Dialog box will display a Help button.
OPF_DISABLECONVERT
The Convert button will be disabled on the general property page.
lpPS
[in] Pointer to the standard property sheet header (PROPSHEETHEADER), used for extensibility.
//Data which allows manipulation of the object
dwObject
[in] Identifier for the object.
lpObjInfo
[in] Pointer to the interface to manipulate object.
//Data which allows manipulation of the link
dwLink;
[in] Container-defined unique 32-bit identifier for a single link. Containers can use the pointer to the link's container site for this value.
lpLinkInfo
[in] Pointer to the interface to manipulate link.
// Data specific to each page
lpGP
[in] Pointer to the general page data.
lpVP
[in] Pointer to the view page data.
lpLP
[in] Pointer to the link page data.

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in oledlg.h.

See Also

OleUIObjectProperties, OLEUIGNRLPROPS, OLEUIVIEWPROPS, OLEUILINKPROPS