IUIX_Inst::CreatePropSheets Method
From PDF XChange PDF SDK
Creates new property sheets object of IUIX_PropSheets interface.
Syntax
HRESULT CreatePropSheets([in] IUIX_Obj* pParent, [in] BSTR pID, [in] BSTR pTitle, [in] LONG nPageNavWidth, [in] SIZE* pPageAreaSize, [in, defaultvalue(NULL)] IUnknown* pSrc, [in, defaultvalue(NULL)] IUnknown* pCtx, [in, defaultvalue(0)] LONGLONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_PropSheets** ppPropSheets);
Parameters
- pParent
- [in] parent object of IUIX_Obj interface.
- pID
- [in] string ID of created object.
- pTitle
- [in] window title.
- nPageNavWidth
- [in] width of navigator page in the window.
- pPageAreaSize
- [in] size of area where pages (objects of IUIX_PropSheetPage interface) will be displayed.
- pSrc
- [in, optional] Pointer to IUnknown*.
- pCtx
- [in, optional] Pointer to IUnknown*.
- nStyle
- [in, defaultvalue(0)] specifies property sheets style with flags from UIX_PropSheetsStyleFlags.
- ppPropSheets
- [out, retval, defaultvalue(NULL)] return object of IUIX_PropSheets interface.
Return Value
Returns S_OK if operation was successful or error code in other cases.