Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

reserve-righthand-alt-key

Arguments: cg-configuration

This option has an effect only on the Windows platform.

This Common Graphics configuration option specifies how the right-hand Alt key is handled. This key is sometimes known as the AltGr key, especially on European keyboards.

If the value is nil, then Common Graphics handles the righthand Alt key as a regular Alt key, just as it does for the lefthand Alt key. Keystrokes with this key held down will call virtual-key-down methods as usual, or invoke menu commands whose event-synonym shortcuts use alt-key.

If the value is true, then Common Graphics will not handle keystrokes at all when the righthand Alt key is held down, and will instead pass the keystrokes directly back to the Windows operating system. This is needed with some keyboards for entering characters for which the keyboard does not have dedicated keys.

The default value is true, to allow the AltGr key to be used for alternate character input by default. The following form sets the option to nil:

(setf (reserve-righthand-alt-key (configuration *system*)) nil)

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version