Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version