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)
 
(6 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|method}}
+
{{#parentPage:PXV:IUIX_Inst#Methods|CreateCustomCtl|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== 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** 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]  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''
+
;pCustomCtl
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
  
Line 34: Line 43:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 03: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