IUIX_Cmd::GetShortcut Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(4 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|GetShortcut Method|method}}
+
{{#parentPage:PXV:IUIX_Cmd#Methods|GetShortcut|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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*  pA1,
+
                     [out]  UIX_CmdAccel*  stA1,
                     [out]  UIX_CmdAccel*  pA2);</pre>
+
                     [out]  UIX_CmdAccel*  stA2);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nIndex
 
;nIndex
:[in]  Value of LONG.
+
:[in]  Value of LONG containing index in the shortcuts list.
;pA1
+
;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.
;pA2
+
;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 ==
Line 25: Line 24:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_Cmd|IUIX_Cmd]].
+
[[PXV:IUIX_Cmd|IUIX_Cmd]]

Latest revision as of 01: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.

See Also

IUIX_Cmd