IUIX_CmdMenu::DeleteItemsByCmd Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdMenu::DeleteItemsByCmd Method}} | {{#customTitle:IUIX_CmdMenu::DeleteItemsByCmd Method}} | ||
{{#parentPage:PXV:IUIX_CmdMenu#Methods|DeleteItemsByCmd|method}} | {{#parentPage:PXV:IUIX_CmdMenu#Methods|DeleteItemsByCmd|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Removes command menu items that correspond to the given [[PXV:IUIX_Cmd|command]]. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 14: | ||
== Parameters == | == Parameters == | ||
;pCmd | ;pCmd | ||
− | :[in] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]]. | + | :[in] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]] containing the command by which the corresponding command menu items should be removed. |
;bRecursive | ;bRecursive | ||
− | :[in, defaultvalue(-1)] Value of VARIANT_BOOL. | + | :[in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the command menu items should be removed recursively. |
;bFirstOnly | ;bFirstOnly | ||
− | :[in, defaultvalue(0)] Value of VARIANT_BOOL. | + | :[in, defaultvalue(0)] Value of VARIANT_BOOL representing whether only the first item that matches the given criteria should be removed. |
== Return Value == | == Return Value == |
Latest revision as of 07:36, 31 March 2016
Removes command menu items that correspond to the given command.
Syntax
HRESULT DeleteItemsByCmd([in] IUIX_Cmd* pCmd, [in, defaultvalue(-1)] VARIANT_BOOL bRecursive, [in, defaultvalue(0)] VARIANT_BOOL bFirstOnly);
Parameters
- pCmd
- [in] Pointer to IUIX_Cmd containing the command by which the corresponding command menu items should be removed.
- bRecursive
- [in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the command menu items should be removed recursively.
- bFirstOnly
- [in, defaultvalue(0)] Value of VARIANT_BOOL representing whether only the first item that matches the given criteria should be removed.
Return Value
Returns S_OK if operation was successful or error code in other cases.