键盘加速键和快捷键有什么区别?

发布于 2024-07-11 21:05:19 字数 22 浏览 12 评论 0原文

键盘加速键和快捷键有什么区别?

What is the difference between a keyboard accelerator and a shortcut key?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

迎风吟唱 2024-07-18 21:05:19

约翰 - 我不认为这是正确的。

MSDN 将菜单定义为具有:
“菜单访问键”- 菜单项名称中带下划线的字母。
“菜单快捷键”- 菜单项右侧的组合键。

菜单快捷键(菜单右侧的文本)被视为键盘加速键,而不是菜单访问键 - 请参阅 菜单快捷键位于“关于菜单”MSDN 页面 - 本节针对键盘加速器的信息,而不是菜单访问键部分。

就我而言,键盘加速器是一个“快捷键”。 无论菜单的可见性如何,都可以使用它们,并且它们仅被包括在菜单中作为用户的参考以及用户获取他们可能经常使用的菜单项的快捷方式的方式。 因此,它们可以在根本不显示在菜单中的情况下被定义。

请参阅有关键盘加速器的 MSDN 页面:

通常,用户依赖
应用程序的菜单来了解
命令集然后切换到
使用加速器,因为它们变得越来越多
熟练应用。
http://msdn.microsoft.com/en- us/library/ms646335(v=VS.85).aspx

虽然加速器通常
生成作为菜单存在的命令
项目,他们还可以生成命令
没有等效的菜单项。
http://msdn.microsoft.com/en- us/library/ms646335(v=VS.85).aspx

John - I don't believe that is correct.

MSDN defines menus as having:
'Menu access keys' - the underlined letters in the menu item name.
'Menu shortcut keys' - the key combination to the right of the menu item.

It is menu shortcut keys (text to the right of the menu) that are identified as synonymous with keyboard accelerators, not menu access keys - see paragraph on Menu Shortcut Keys in the 'about menus' MSDN page - it is this section directs towards information on Keyboard accelerators, not the section on Menu Access Keys.

As far as I am concerned a keyboard accelerator is a 'shortcut key'. They may be used regardless of the visibility of a menu, and are only included in the menu as a reference for the user and a way for the user to pick up on shortcuts for menu items that they may regularly use. Hence they may be defined without being displayed in the menu at all.

See MSDN page on Keyboard Accelerators:

Typically, users rely on an
application's menus to learn the
command set and then switch over to
using accelerators as they become more
proficient with the application.
http://msdn.microsoft.com/en-us/library/ms646335(v=VS.85).aspx

Although accelerators typically
generate commands that exist as menu
items, they can also generate commands
that have no equivalent menu items.
http://msdn.microsoft.com/en-us/library/ms646335(v=VS.85).aspx

时光沙漏 2024-07-18 21:05:19

对于 Windows,键盘加速器由按钮、菜单或其他标签上带下划线的字母表示:

键盘加速器 http://content.screencast.com/users/TreefortJohn/folders/Jing/media/70d5002f-5832-448a-9379 -256b7a8c4fd7/2009-01-12_2304.png

在最新版本的 Windows 中,它们会隐藏,直到您按 Alt 键。 然后您可以点击该字母来选择菜单、按钮或其他输入控件。

快捷键通常没有视觉表示,除非它们在菜单中列出。 Ctrl-CCtrl-XCtrl-V< /kbd> 是常见快捷键的示例,您可以看到它们列在各自的菜单项旁边。

关于键盘加速器

For Windows, a keyboard accelerator is represented by an underlined letter on a button, menu or other label:

keyboard accelerator http://content.screencast.com/users/TreefortJohn/folders/Jing/media/70d5002f-5832-448a-9379-256b7a8c4fd7/2009-01-12_2304.png

On recent versions of Windows, they are hidden until you press the Alt key. Then you can hit that letter to select the menu, button or other input control.

A shortcut key typically does not have a visual representation, except for when they're listed in menus. Ctrl-C, Ctrl-X, Ctrl-V are examples of common shortcut keys, which you can see listed next to their respective menu items.

About Keyboard Accelerators

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文