IUIX_Inst::CreateScrollContainer Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateScrollContainer Method}}
 
{{#customTitle:IUIX_Inst::CreateScrollContainer Method}}
 +
{{#parentPage:PXV:IUIX_Inst#Methods|CreateScrollContainer|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Creates new object of [[PXV:IUIX_ScrollContainer|IUIX_ScrollContainer]] interface.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateScrollContainer([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] LONGLONG nStyle, [in, optional] IUnknown* pCustomImpl, [out, retval, optional] IUIX_ScrollContainer** ppSC);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateScrollContainer([in]                               IUIX_Obj*               pParent,
 +
                              [in]                               RECT*                   pRect,
 +
                              [in]                               LONGLONG               nStyle,
 +
                              [in, defaultvalue(NULL)]           IUnknown*               pCustomImpl,
 +
                              [out, retval, defaultvalue(NULL)] IUIX_ScrollContainer** pSC);</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.
;''nStyle''
+
;nStyle
:[in]  Value of LONGLONG.
+
:[in]  specifies style of scroll container with flags from [[PXV:UIX_ScrollContainerSideTypes|UIX_ScrollContainerSideTypes]] enumeration.
;''pCustomImpl''
+
;pCustomImpl
:[in, optional]  Pointer to IUnknown*.
+
:[in, optional]  custom implementation of [[PXV:IUIX_ScrollContainer|IUIX_ScrollContainer]] interface. Set this parameter if you need to set your own interface implementation instead of default one.
;''ppSC''
+
;pSC
:[out, retval, optionalPointer to [[PXV:IUIX_ScrollContainer|IUIX_ScrollContainer]].
+
:[out, retval, defaultvalue(NULL)return object of [[PXV:IUIX_ScrollContainer|IUIX_ScrollContainer]] interface.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 10:18, 16 June 2015


Creates new object of IUIX_ScrollContainer interface.

Syntax

HRESULT CreateScrollContainer([in]                               IUIX_Obj*               pParent,
                              [in]                               RECT*                   pRect,
                              [in]                               LONGLONG                nStyle,
                              [in, defaultvalue(NULL)]           IUnknown*               pCustomImpl,
                              [out, retval, defaultvalue(NULL)]  IUIX_ScrollContainer**  pSC);

Parameters

pParent
[in] parent object of IUIX_Obj interface.
pRect
[in] dialog area where created object will be located.
nStyle
[in] specifies style of scroll container with flags from UIX_ScrollContainerSideTypes enumeration.
pCustomImpl
[in, optional] custom implementation of IUIX_ScrollContainer interface. Set this parameter if you need to set your own interface implementation instead of default one.
pSC
[out, retval, defaultvalue(NULL)] return object of IUIX_ScrollContainer interface.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst