Subroutines > Detailed Descriptions > AUI > Eventwait > AUI_Eventwait Parameters > opflags

EVW_ACCEL

This flag allows alphanumeric keystrokes to act as "accelerator" keys, automatically selecting and clicking on the matching control, if present. You can define an accelerator key association for a control by inserting a "&" in front of the desired character in the control's text. For example, a button defined using "E&xit" will use "x" as the accelerator key. (The & will not appear, but the subsequent character will be underlined.) In this case, hitting "x" will have the same effect as clicking on the button.

Note that the standard Windows keyboard accelerator formula (alt+key) does not require that EVW_ACCEL be specified.