IPXV_Inst::CreateStdPresetsButton Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::CreateStdPresetsButton Method}} | {{#customTitle:IPXV_Inst::CreateStdPresetsButton Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst#Methods|CreateStdPresetsButton | + | {{#parentPage:PXV:IPXV_Inst#Methods|CreateStdPresetsButton|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new instance of UI-control that provides for end-user the access to the list of settings presets. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT CreateStdPresetsButton([in] IUIX_Obj* pBtnObj, | <pre class="brush:cpp;gutter:false">HRESULT CreateStdPresetsButton([in] IUIX_Obj* pBtnObj, | ||
[in] IPXV_PresetsListCallbacks* pCallbacks, | [in] IPXV_PresetsListCallbacks* pCallbacks, | ||
− | [out, retval] IPXV_PresetsButton** | + | [out, retval] IPXV_PresetsButton** pRes);</pre> |
== Parameters == | == Parameters == | ||
;pBtnObj | ;pBtnObj | ||
− | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. | + | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] of normal button that must be subclassed. |
;pCallbacks | ;pCallbacks | ||
− | :[in] Pointer to [[PXV:IPXV_PresetsListCallbacks|IPXV_PresetsListCallbacks]]. | + | :[in] Pointer to [[PXV:IPXV_PresetsListCallbacks|IPXV_PresetsListCallbacks]] that provides for the presets-button the low-level access for to presets database. You may create it by [[PXV:IPXV_Inst_CreateStdPresetsCallbacks|IPXV_Inst::CreateStdPresetsCallbacks]]. |
− | ; | + | ;pRes |
− | :[out, retval] | + | :[out, retval] Returns pointer to a new [[PXV:IPXV_PresetsButton|IPXV_PresetsButton]] object. |
== Return Value == | == Return Value == | ||
Line 25: | Line 24: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_CreateStdPresetsCallbacks|IPXV_Inst::CreateStdPresetsCallbacks]] |
Latest revision as of 03:55, 15 June 2015
Creates new instance of UI-control that provides for end-user the access to the list of settings presets.
Syntax
HRESULT CreateStdPresetsButton([in] IUIX_Obj* pBtnObj, [in] IPXV_PresetsListCallbacks* pCallbacks, [out, retval] IPXV_PresetsButton** pRes);
Parameters
- pBtnObj
- [in] Pointer to IUIX_Obj of normal button that must be subclassed.
- pCallbacks
- [in] Pointer to IPXV_PresetsListCallbacks that provides for the presets-button the low-level access for to presets database. You may create it by IPXV_Inst::CreateStdPresetsCallbacks.
- pRes
- [out, retval] Returns pointer to a new IPXV_PresetsButton object.
Return Value
Returns S_OK if operation was successful or error code in other cases.