IPXV_Inst::CreateStdPresetsButton Method
From PDF XChange PDF SDK
Line 6: | Line 6: | ||
{{ToReview}} | {{ToReview}} | ||
− | Creates new instance of UI-control that provides for end-user the access | + | Creates new instance of UI-control that provides for end-user the access to the list of settings presets. |
== Syntax == | == Syntax == | ||
Line 17: | Line 17: | ||
:[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] of normal button that must be subclassed. | :[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]] that provides for the presets-button the low-level access for to presets database. You may create it by [[PXV: | + | :[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_CreateStdPresetsCallback|IPXV_Inst::CreateStdPresetsCallback]]. |
;ppRes | ;ppRes | ||
:[out, retval] Returns pointer to a new [[PXV:IPXV_PresetsButton|IPXV_PresetsButton]] object. | :[out, retval] Returns pointer to a new [[PXV:IPXV_PresetsButton|IPXV_PresetsButton]] object. | ||
Line 25: | Line 25: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV: | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_CreateStdPresetsCallback|IPXV_Inst::CreateStdPresetsCallback]] |
Revision as of 16:40, 24 May 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** ppRes);
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::CreateStdPresetsCallback.
- ppRes
- [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.