IUIX_Inst::CreateCustomCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateCustomCtl Method}}
 
{{#customTitle:IUIX_Inst::CreateCustomCtl Method}}
 +
{{#parentPage:PXV:IUIX_Inst#Methods|CreateCustomCtl|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateCustomCtl([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] IUnknown* pCustomImpl, [in, optional] LONGLONG nStyle, [in, optional] LONGLONG nScrollStyle, [in, optional] BSTR pThemeClassID, [in, optional] LONG nCreateFlags, [out, optional] IUIX_Obj** ppSC, [out, retval, optional] IUIX_Obj** ppCustomCtl);</pre>
+
<pre class="brush:cpp;gutter:false">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);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pParent''
+
;pParent
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in]  parent object of [[PXV:IUIX_Obj|IUIX_Obj]] interface.
;''pRect''
+
;pRect
:[in]  Pointer to RECT.
+
:[in]  dialog area where created object will be located.
;''pID''
+
;pID
:[in]  Value of BSTR.
+
:[in]  string ID of created object.
;''pCustomImpl''
+
;pCustomImpl
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
;''nStyle''
+
;nStyle
:[in, optional]  Value of LONGLONG.
+
:[in]  Value of LONGLONG.
;''nScrollStyle''
+
;nScrollStyle
:[in, optional]  Value of LONGLONG.
+
:[in]  Value of LONGLONG.
;''pThemeClassID''
+
;pThemeClassID
:[in, optional]  Value of BSTR.
+
:[in]  Value of BSTR.
;''nCreateFlags''
+
;nCreateFlags
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
;''ppSC''
+
;pCustomCtl
:[out, optional]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
;''ppCustomCtl''
+
:[out, retval, optional]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
  
 
== Return Value ==
 
== Return Value ==
Line 33: Line 43:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 04:23, 15 June 2015


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