GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Accelerator table - Wikipedia

In Windows programming, an accelerator table allows an application to specify a list of accelerators (keyboard shortcuts) for menu items or other commands.[1] For example, Ctrl+S is often used as a shortcut to the File→Save menu item, Ctrl+O is a common shortcut to the File→Open menu item, etc. An accelerator takes precedence over normal processing and can be a convenient way to program some event handling.

Accelerator tables are usually located in the resources section of the binary. Editors such as Resource Tuner are available that can modify the keystroke values and flags of the specific accelerator table.

Accelerators and menus

Each accelerator is associated with a control ID, the same kind of IDs which are assigned to buttons, combo boxes, list boxes, and also menu items. In this way, GUI objects can be created which represent the same function as an accelerator.

Since using the menus, and subsequently the mouse, is not always the best solution, it is important to provide users with the possibility to minimize usage of the mouse. For this reason showing the accelerators in menus can be useful; it informs the user that there are shortcuts, and that using the mouse is not always mandatory.

Electron usage

The software framework Electron also uses the term "Accelerator" as the name for its API to specify keyboard shortcuts for menu items and program behaviors on multiple platforms, including those other than Windows.[2]

See also

  • Keyboard shortcut

References

  1. ↑ "Accelerator Tables". microsoft.com. 2018-05-30. Retrieved 2020-01-27.
  2. ↑ "Accelerator". electronjs.org. 2020-01-22. Retrieved 2020-01-27.


Stub icon

This article related to a type of software is a stub. You can help Wikipedia by adding missing information.

  • v
  • t
  • e
Retrieved from "https://en.wikipedia.org/w/index.php?title=Accelerator_table&oldid=1290608544"
Categories:
  • User interface techniques
  • Software type stubs
Hidden category:
  • All stub articles
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.