IUIX_CmdMenu::DeepFindFirstItemByCmdID Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | {{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | ||
{{#parentPage:PXV:IUIX_CmdMenu#Methods|DeepFindFirstItemByCmdID|method}} | {{#parentPage:PXV:IUIX_CmdMenu#Methods|DeepFindFirstItemByCmdID|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Recursively finds owner command menu and index of the menu item inside of it 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 needs to be searched for. |
;nIndex | ;nIndex | ||
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the index of the item in the owner command menu. |
;pOwner | ;pOwner | ||
− | :[out] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | + | :[out] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] containing the owner command menu. |
== Return Value == | == Return Value == |
Latest revision as of 06:22, 31 March 2016
Recursively finds owner command menu and index of the menu item inside of it that corresponds to the given command ID.
Syntax
HRESULT DeepFindFirstItemByCmdID([in] LONG nCmdID, [out] LONG* nIndex, [out] IUIX_CmdMenu** pOwner);
Parameters
- nCmdID
- [in] Value of LONG containing the command ID that needs to be searched for.
- nIndex
- [out] Pointer to LONG containing the index of the item in the owner command menu.
- pOwner
- [out] Pointer to IUIX_CmdMenu containing the owner command menu.
Return Value
Returns S_OK if operation was successful or error code in other cases.