ConstantPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

alt-key

The value of this constant is an integer that will be passed as a bit flag component of the buttons argument to various event-handling generic functions such as mouse-left-down if either Alt key was down when the event occurred. See extended-key for how to tell whether the right or left key was down.

On the Windows platform, the righthand Alt key will be handled by Common Graphics only if the reserve-righthand-alt-key configuration option is nil.

On the Apple Mac, alt-key corresponds to the Command key (also called the Apple key) rather than the Option key (which says "Alt" on it). The reason is that Common Graphics allows alt-key to be used as a shift key for command shortcuts either by itself or in combination with various other shift keys, whereas the Mac Option/Alt key can be used for command shortcuts only in combination with the Command/Apple key. Use meta-key for the Option/Alt key (though only in combination with the Command/Apple key).


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

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