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 5: Line 5:
  
 
== 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, optional] LONG nCreateFlags, [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** ppCustomCtl);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 23: Line 23:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''nCreateFlags''
 
;''nCreateFlags''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''ppCustomCtl''
 
;''ppCustomCtl''
:[out, retval, optional]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:06, 17 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.