mnemonic(3W)
NAME
OlQueryMnemonicDisplay, OlQueryAcceleratorDisplay − controls mnemonic and accelerator displays
SYNOPSIS
OlDefine OlQueryMnemonicDisplay(
Widget w);
OlDefine OlQueryAcceleratorDisplay(
Widget w);
DESCRIPTION
Query Mnemonic Display for Screen
Range of Values: OL_UNDERLINE
OL_HIGHLIGHT
OL_NONE
OL_INACTIVE
This function queries how the keyboard mnemonics on the controls should be displayed. The default value is OL_UNDERLINE; the mnemonics should be displayed in the Primitive controls by drawing a line under the character in the font color. OL_HIGHLIGHT will display the mnemonic character with the background and foreground colors reversed. When highlighting a character that is displayed on a pixmap background, the mnemonic character will be drawn in a solid color. The mnemonic accelerator will not be displayed and will not activate the control if this function returns OL_INACTIVE.
Query Accelerator Display for Screen
OlDefine OlQueryAcceleratorDisplay(w)
Widget w;
Range of Values for return:
OL_DISPLAY
OL_NONE
OL_INACTIVE
When this function returns OL_DISPLAY, the keyboard accelerators should be displayed. When this function returns OL_NONE, the keyboard accelerators should not be displayed. the return value OL_INACTIVE means the keyboard accelerators should not be displayed and the controls should ignore the accelerator action.
Version 3.0.1 — Last change: June 92