IUIX_Cmd::GetShortcut Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Cmd::GetShortcut Method}} | {{#customTitle:IUIX_Cmd::GetShortcut Method}} | ||
− | {{#parentPage:PXV:IUIX_Cmd#Methods|GetShortcut | + | {{#parentPage:PXV:IUIX_Cmd#Methods|GetShortcut|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets single or double shortcut from the command's shortcuts list by index. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetShortcut([in] LONG nIndex, | <pre class="brush:cpp;gutter:false">HRESULT GetShortcut([in] LONG nIndex, | ||
− | [out] UIX_CmdAccel* | + | [out] UIX_CmdAccel* stA1, |
− | [out] UIX_CmdAccel* | + | [out] UIX_CmdAccel* stA2);</pre> |
== Parameters == | == Parameters == | ||
;nIndex | ;nIndex | ||
− | :[in] Value of LONG. | + | :[in] Value of LONG containing index in the shortcuts list. |
− | ; | + | ;stA1 |
− | :[out] Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]]. | + | :[out] Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]] containing single shortcut or first part of the double shortcut. |
− | ; | + | ;stA2 |
− | :[out] Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]]. | + | :[out] Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]] containing the second part of the double shortcut (if present). |
== Return Value == | == Return Value == |
Latest revision as of 00:50, 24 March 2016
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.