Invokes a new property frame, that is, a property sheet dialog box, whose parent is hwndOwner, where the dialog is positioned at the point (x,y) in the parent window and has the caption lpszCaption.
STDAPI OleCreatePropertyFrame(
HWND hwndOwner, //Parent window of property sheet dialog box
UINT x, //Horizontal position for dialog box
UINT y, //Vertical position for dialog box
LPCOLESTR lpszCaption,
//Pointer to the dialog box caption
ULONG cObjects, //Number of object pointers in lplpUnk
LPUNKNOWN FAR* lplpUnk,
//Pointer to the objects for property sheet
ULONG cPages, //Number of property pages in lpPageClsID
LPCLSID lpPageClsID,
//Array of CLSIDs for each property page
LCID lcid, //Locale identifier for property sheet locale
DWORD dwReserved, //Reserved
LPVOID lpvReserved //Reserved
);
This function supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:
The property pages to be displayed are identified with lpPageClsID, which is an array of cPages CLSID values. The objects that are affected by this property sheet are identified in lplpUnk, an array of size cObjects containing IUnknown pointers.
This function always creates a modal dialogbox and does not return until the dialog box is closed.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in olectl.h.
Import Library: Included as a resource in olepro32.dll.
OleCreatePropertyFrameIndirect