IUIX_CmdItemBox::FindItemByCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IUIX_CmdItemBox::FindItemByCtl Method}}
 
{{#customTitle:IUIX_CmdItemBox::FindItemByCtl Method}}
 
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|FindItemByCtl|method}}
 
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|FindItemByCtl|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Searches for the first command item in the command items box by the correspondent command's sub-control.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;pCtl
 
;pCtl
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] containing the command's sub-control that will be used to find first correspondent command item.
 
;nIndex
 
;nIndex
:[out, retval]  Pointer to LONG.
+
:[out, retval]  Pointer to LONG containing the index of the correspondent item. If no command was found then '''-1''' will be returned.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 08:04, 24 March 2016


Searches for the first command item in the command items box by the correspondent command's sub-control.

Syntax

HRESULT FindItemByCtl([in]           IUIX_Obj*  pCtl,
                      [out, retval]  LONG*      nIndex);

Parameters

pCtl
[in] Pointer to IUIX_Obj containing the command's sub-control that will be used to find first correspondent command item.
nIndex
[out, retval] Pointer to LONG containing the index of the correspondent item. If no command was found then -1 will be returned.

Return Value

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

See Also

IUIX_CmdItemBox