PXV:IUIX CmdBar FindFirstItemByCmdName

From PDF XChange PDF SDK
Jump to navigation Jump to search


Gets Index of the first item in the commands bar that corresponds to the command's name.

Syntax

HRESULT FindFirstItemByCmdName([in]           BSTR            sCmdName,
                               [out, retval]  IUIX_CmdItem**  pItem);

Parameters

sCmdName
[in] Value of BSTR containing the command's name.
pItem
[out, retval] Pointer to IUIX_CmdItem containing the resulting Index of the command in the command bar.

Return Value

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

See Also

IUIX_CmdBar