IUIX_Inst::CreatePropSheets Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 25: Line 25:
 
:[in]  string ID of created object.
 
:[in]  string ID of created object.
 
;pTitle
 
;pTitle
:[in]  Value of BSTR.
+
:[in]  window title.
 
;nPageNavWidth
 
;nPageNavWidth
:[in]  Value of LONG.
+
:[in]  width of ''navigator page'' in the window.
 
;pPageAreaSize
 
;pPageAreaSize
:[in]  Pointer to SIZE.
+
:[in]  size of area where pages (objects of [[PXV:IUIX_PropSheetPage|IUIX_PropSheetPage]] interface) will be displayed.
 
;pSrc
 
;pSrc
 
:[in, optional]  Pointer to IUnknown*.
 
:[in, optional]  Pointer to IUnknown*.
Line 35: Line 35:
 
:[in, optional]  Pointer to IUnknown*.
 
:[in, optional]  Pointer to IUnknown*.
 
;nStyle
 
;nStyle
:[in, defaultvalue(0)]  Value of LONGLONG.
+
:[in, defaultvalue(0)]  specifies ''property sheets'' style with flags from [[PXV:UIX_PropSheetsStyleFlags|UIX_PropSheetsStyleFlags]].
 
;ppPropSheets
 
;ppPropSheets
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_PropSheets|IUIX_PropSheets]].
+
:[out, retval, defaultvalue(NULL)]  return object of [[PXV:IUIX_PropSheets|IUIX_PropSheets]] interface.
  
 
== Return Value ==
 
== Return Value ==
Line 43: Line 43:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]], [[PXV:IUIX_PropSheets|IUIX_PropSheets]].

Revision as of 05:42, 21 May 2015


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.

See Also

IUIX_Inst, IUIX_PropSheets.