IUIX_CmdBar::FindFirstItemByCmdID Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdBar::FindFirstItemByCmdID Method}}
 
{{#customTitle:IUIX_CmdBar::FindFirstItemByCmdID Method}}
 +
{{#parentPage:PXV:IUIX_CmdBar#Methods|FindFirstItemByCmdID|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets [[PXV:IUIX_CmdItem_Index|Index]] of the first item in the commands bar that corresponds to the command ID.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FindFirstItemByCmdID([in] LONG nCmdID, [out, retval] IUIX_CmdItem** ppItem);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT FindFirstItemByCmdID([in]           LONG           nCmdID,
 +
                            [out, retval] IUIX_CmdItem** pItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nCmdID''
+
;nCmdID
:[in]  Value of LONG.
+
:[in]  Value of LONG containing the commands ID.
;''ppItem''
+
;pItem
:[out, retval]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
+
:[out, retval]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]] containing the [[PXV:IUIX_CmdItem_Index|Index]] of the command in the commands bar.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdBar|IUIX_CmdBar]].
+
[[PXV:IUIX_CmdBar|IUIX_CmdBar]]

Latest revision as of 08:11, 23 March 2016


Gets Index of the first item in the commands bar that corresponds to the command ID.

Syntax

HRESULT FindFirstItemByCmdID([in]           LONG            nCmdID,
                             [out, retval]  IUIX_CmdItem**  pItem);

Parameters

nCmdID
[in] Value of LONG containing the commands ID.
pItem
[out, retval] Pointer to IUIX_CmdItem containing the Index of the command in the commands bar.

Return Value

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

See Also

IUIX_CmdBar