IUIX_Inst::CreatePropSheets Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Inst::CreatePropSheets Method}} | {{#customTitle:IUIX_Inst::CreatePropSheets Method}} | ||
− | {{#parentPage:PXV:IUIX_Inst|CreatePropSheets | + | {{#parentPage:PXV:IUIX_Inst#Methods|CreatePropSheets|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new ''property sheets'' object of [[PXV:IUIX_PropSheets|IUIX_PropSheets]] interface. | |
== Syntax == | == Syntax == | ||
Line 17: | Line 17: | ||
[in, defaultvalue(NULL)] IUnknown* pCtx, | [in, defaultvalue(NULL)] IUnknown* pCtx, | ||
[in, defaultvalue(0)] LONGLONG nStyle, | [in, defaultvalue(0)] LONGLONG nStyle, | ||
− | [out, retval, defaultvalue(NULL)] IUIX_PropSheets** | + | [out, retval, defaultvalue(NULL)] IUIX_PropSheets** pPropSheets);</pre> |
== Parameters == | == Parameters == | ||
;pParent | ;pParent | ||
− | :[in] | + | :[in] parent object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. |
;pID | ;pID | ||
− | :[in] | + | :[in] string ID of created object. |
;pTitle | ;pTitle | ||
− | :[in] | + | :[in] window title. |
;nPageNavWidth | ;nPageNavWidth | ||
− | :[in] | + | :[in] width of ''navigation page'' in the window. |
;pPageAreaSize | ;pPageAreaSize | ||
− | :[in] | + | :[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)] | + | :[in, defaultvalue(0)] specifies ''property sheets'' style with flags from [[PXV:UIX_PropSheetsStyleFlags|UIX_PropSheetsStyleFlags]] enumeration. |
− | ; | + | ;pPropSheets |
− | :[out, retval, defaultvalue(NULL)] | + | :[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]] |
Latest revision as of 03:24, 15 June 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** pPropSheets);
Parameters
- pParent
- [in] parent object of IUIX_Obj interface.
- pID
- [in] string ID of created object.
- pTitle
- [in] window title.
- nPageNavWidth
- [in] width of navigation 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 enumeration.
- pPropSheets
- [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.