IUIX_Inst::CreateCustomCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateCustomCtl([in]                               IUIX_Obj*   pParent,
                        [in]                               RECT*       pRect,
                        [in]                               BSTR        pID,
                        [in]                               IUnknown*   pCustomImpl,
                        [in]                               LONGLONG    nStyle,
                        [in]                               LONGLONG    nScrollStyle,
                        [in]                               BSTR        pThemeClassID,
                        [in, defaultvalue(0)]              LONG        nCreateFlags,
                        [out, retval, defaultvalue(NULL)]  IUIX_Obj**  pCustomCtl);

Parameters

pParent
[in] parent object of IUIX_Obj interface.
pRect
[in] dialog area where created object will be located.
pID
[in] string ID of created object.
pCustomImpl
[in] Pointer to IUnknown*.
nStyle
[in] Value of LONGLONG.
nScrollStyle
[in] Value of LONGLONG.
pThemeClassID
[in] Value of BSTR.
nCreateFlags
[in, defaultvalue(0)] Value of LONG.
pCustomCtl
[out, retval, defaultvalue(NULL)] Pointer to IUIX_Obj.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_Inst