IUIX_Inst::CreateCustomCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateCustomCtl Method}}
 
{{#customTitle:IUIX_Inst::CreateCustomCtl Method}}
{{#parentPage:PXV:IUIX_Inst|method}}
+
{{#parentPage:PXV:IUIX_Inst|CreateCustomCtl Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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** 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** ppCustomCtl);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pParent''
+
;pParent
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
;''pRect''
+
;pRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pID''
+
;pID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''pCustomImpl''
+
;pCustomImpl
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
;''nStyle''
+
;nStyle
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;''nScrollStyle''
+
;nScrollStyle
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;''pThemeClassID''
+
;pThemeClassID
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;''nCreateFlags''
+
;nCreateFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''ppCustomCtl''
+
;ppCustomCtl
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
  

Revision as of 05:44, 23 April 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**  ppCustomCtl);

Parameters

pParent
[in] Pointer to IUIX_Obj.
pRect
[in] Pointer to RECT.
pID
[in] Value of BSTR.
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.
ppCustomCtl
[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

See also IUIX_Inst.