IUIX_CmdBar::FlatFindFirstItemByCmdID Method

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

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


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

Syntax

HRESULT FlatFindFirstItemByCmdID([in]           LONG   nCmdID,
                                 [out, retval]  LONG*  nFlatIndex);

Parameters

nCmdID
[in] Value of LONG containing the command's ID.
nFlatIndex
[out, retval] Pointer to LONG containing the resulting FlatIndex 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