ConstantPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Significantly revised from 8.1.
8.1 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 MacIntosh, 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 MacIntosh 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page has had significant revisions compared to the 8.1 page.
Created 2016.6.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Significantly revised from 8.1.
8.1 version