IUIX_Cmd::ModifyShortcut Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(7 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|method | + | {{#parentPage:PXV:IUIX_Cmd#Methods|ModifyShortcut|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | 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* | + | <pre class="brush:cpp;gutter:false">HRESULT ModifyShortcut([in] LONG nIndex, |
+ | [in] UIX_CmdAccel* stA);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nIndex |
− | :[in] Value of LONG. | + | :[in] Value of LONG containing the index in the shortcuts list. |
− | ; | + | ;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 20: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_Cmd|IUIX_Cmd]] |
Latest revision as of 00: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.