IPXV_Inst::CreateStdPresetsButton Method

From PDF XChange PDF SDK
Revision as of 15:54, 24 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


Creates new instance of UI-control that provides for end-user the access in UI to list of setting 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::CreateStdPresetsCallbacks.
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.

See Also

IPXV_Inst, IPXV_Inst::CreateStdPresetsCallbacks