Tuesday, 14 February 2017

KEYBOARD ACCELERATORS

Ø Menu item contains underline characters called hot keys created by using & before that character so that they can be easily accessed from keyboard (like Alt+F+S to save)
Ø Another way to attach keystroke to menu item is by using keyboard accelerators.
Ø Keyboard AcceleratorResource consists of a table of key combinations with associated command IDs.
Ø For Edit Copy menu item (with ID ID_EDIT_COPY), might be linked with Ctrl+C through keyboard accelerators.

Ø Other Examples are ID_FILE_NEW (Ctrl + N), ID_EDIT_CUT (Ctrl + X), ID_FILE_SAVE (Ctrl + S), ID_EDIT_PASTE (Ctrl + V), etc.

No comments:
Write comments