IUIX_CmdMenu::FindFirstItemByCmdID Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IUIX_CmdMenu::FindFirstItemByCmdID Method}}
 
{{#customTitle:IUIX_CmdMenu::FindFirstItemByCmdID Method}}
 
{{#parentPage:PXV:IUIX_CmdMenu#Methods|FindFirstItemByCmdID|method}}
 
{{#parentPage:PXV:IUIX_CmdMenu#Methods|FindFirstItemByCmdID|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Finds first occurrence of the menu item that corresponds to the given command ID.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nCmdID
 
;nCmdID
:[in]  Value of LONG.
+
:[in]  Value of LONG containing the command ID that corresponds to the command menu item.
 
;bReversed
 
;bReversed
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL representing whether the search should be done in reversed order.
 
;nIndex
 
;nIndex
:[out, retval]  Pointer to LONG.
+
:[out, retval]  Pointer to LONG containing the resulting item index.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 07:15, 1 April 2016


Finds first occurrence of the menu item that corresponds to the given command ID.

Syntax

HRESULT FindFirstItemByCmdID([in]                   LONG          nCmdID,
                             [in, defaultvalue(0)]  VARIANT_BOOL  bReversed,
                             [out, retval]          LONG*         nIndex);

Parameters

nCmdID
[in] Value of LONG containing the command ID that corresponds to the command menu item.
bReversed
[in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the search should be done in reversed order.
nIndex
[out, retval] Pointer to LONG containing the resulting item index.

Return Value

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

See Also

IUIX_CmdMenu