IUIX_Cmd::GetShortcut Method

From PDF XChange PDF SDK
Jump to: navigation, search


Gets single or double shortcut from the command's shortcuts list by index.

Syntax

HRESULT GetShortcut([in]   LONG           nIndex,
                    [out]  UIX_CmdAccel*  stA1,
                    [out]  UIX_CmdAccel*  stA2);

Parameters

nIndex
[in] Value of LONG containing index in the shortcuts list.
stA1
[out] Pointer to UIX_CmdAccel containing single shortcut or first part of the double shortcut.
stA2
[out] Pointer to UIX_CmdAccel containing the second part of the double shortcut (if present).

Return Value

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

See Also

IUIX_Cmd