IUIX_CmdBar::FindFirstItemByCmdID Method

From PDF XChange PDF SDK
Revision as of 08:11, 23 March 2016 by Palamar (Talk | contribs)

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


Gets Index of the first item in the commands bar that corresponds to the command ID.

Syntax

HRESULT FindFirstItemByCmdID([in]           LONG            nCmdID,
                             [out, retval]  IUIX_CmdItem**  pItem);

Parameters

nCmdID
[in] Value of LONG containing the commands ID.
pItem
[out, retval] Pointer to IUIX_CmdItem containing the Index of the command in the commands bar.

Return Value

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

See Also

IUIX_CmdBar