IPXV_Inst::CreateStdPresetsButton Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== 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*                  BtnObj,
                               [in]          IPXV_PresetsListCallbacks*  pCallbacks,
+
                               [in]          IPXV_PresetsListCallbacks*  Callbacks,
                               [out, retval]  IPXV_PresetsButton**        pRes);</pre>
+
                               [out, retval]  IPXV_PresetsButton**        Res);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pBtnObj
+
;BtnObj
 
:[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
+
;Callbacks
 
:[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]].
 
:[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
+
;Res
 
:[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.
  

Revision as of 07:31, 12 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*                   BtnObj,
                               [in]           IPXV_PresetsListCallbacks*  Callbacks,
                               [out, retval]  IPXV_PresetsButton**        Res);

Parameters

BtnObj
[in] Pointer to IUIX_Obj of normal button that must be subclassed.
Callbacks
[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.
Res
[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.

See Also

IPXV_Inst, IPXV_Inst::CreateStdPresetsCallbacks