Mnemonic/AcceleratorDisplay(3W) UNIX System V Mnemonic/AcceleratorDisplay(3W)
NAME
Mnemonic/AccleratorDisplay: OlQueryMnemonicDisplay
OlQueryAcceleratorDisplay - Controls mnemonic and acclerator displays
DESCRIPTION
Query Mnemonic Display for Screen
OlDefine OlQueryMnemonicDisplay(w)
Widget w;
Range of Values:
OLUNDERLINE
OLHIGHLIGHT
OLNONE
OLINACTIVE
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:
OLDISPLAY
OLNONE
OLINACTIVE
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.
10/89 Page 1