IUIX_CmdItemBox::DeleteItemsByCmd Method

From Tracker Software PDF SDK
Revision as of 06:57, 24 March 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Removes command items from the command items box by the correspondent 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 that will be used to remove correspondent command items.
bRecursive
[in, defaultvalue(-1)] Value of VARIANT_BOOL representing whether the search should be recursive (in command itemss sub-menus).
bFirstOnly
[in, defaultvalue(0)] Value of VARIANT_BOOL representing whether the only first corresponding item should be removed.

Return Value

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

See Also

IUIX_CmdItemBox