IUIX_Cmd::ModifyShortcut Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Cmd::ModifyShortcut Method}}
 
{{#customTitle:IUIX_Cmd::ModifyShortcut Method}}
 +
{{#parentPage:PXV:IUIX_Cmd#Methods|ModifyShortcut|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Modifies shortcut into a single shortcut in the shortcuts list by index.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ModifyShortcut([in] LONG nIndex, [in] UIX_CmdAccel* pA);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ModifyShortcut([in] LONG           nIndex,
 +
                      [in] UIX_CmdAccel* stA);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nIndex''
+
;nIndex
:[in]  Value of LONG.
+
:[in]  Value of LONG containing the index in the shortcuts list.
;''pA''
+
;stA
:[in]  Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]].
+
:[in]  Pointer to [[PXV:UIX_CmdAccel|UIX_CmdAccel]] containing the command's single shortcut.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Cmd|IUIX_Cmd]].
+
[[PXV:IUIX_Cmd|IUIX_Cmd]]

Latest revision as of 01:59, 24 March 2016


Modifies shortcut into a single shortcut in the shortcuts list by index.

Syntax

HRESULT ModifyShortcut([in]  LONG           nIndex,
                       [in]  UIX_CmdAccel*  stA);

Parameters

nIndex
[in] Value of LONG containing the index in the shortcuts list.
stA
[in] Pointer to UIX_CmdAccel containing the command's single shortcut.

Return Value

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

See Also

IUIX_Cmd