IUIX_Inst::CreateCmdBar 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 CreateCmdBar([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] BSTR pTitle, [in, optional] LONGLONG nStyle, [out, retval, optional] IUIX_CmdBar** ppCmdBar);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateCmdBar([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] BSTR pTitle, [in, defaultvalue(0)] LONGLONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_CmdBar** ppCmdBar);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''nStyle''
 
;''nStyle''
:[in, optional]  Value of LONGLONG.
+
:[in, defaultvalue(0)]  Value of LONGLONG.
 
;''ppCmdBar''
 
;''ppCmdBar''
:[out, retval, optional]  Pointer to [[PXV:IUIX_CmdBar|IUIX_CmdBar]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_CmdBar|IUIX_CmdBar]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:05, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateCmdBar([in] IUIX_Obj* pParent, [in] RECT* pRect, [in] BSTR pID, [in] BSTR pTitle, [in, defaultvalue(0)] LONGLONG nStyle, [out, retval, defaultvalue(NULL)] IUIX_CmdBar** ppCmdBar);

Parameters

pParent
[in] Pointer to IUIX_Obj.
pRect
[in] Pointer to RECT.
pID
[in] Value of BSTR.
pTitle
[in] Value of BSTR.
nStyle
[in, defaultvalue(0)] Value of LONGLONG.
ppCmdBar
[out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdBar.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Inst.