Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Causes nearly all keystrokes to be returned "raw" by setting the ctlid to the ASCII value of the keystroke and exitcode to 0. The only exceptions are the TAB, Shift+Tab, and Arrow keys, which retain their navigation function. This is similar to EVW_NUMERIC, in that the ctlid parameter is used to return a user-input code which has nothing to do with an actual control ID.

Since the returned ctlid may not have anything to do with a valid control ID, take care not to pass the value back as input to a subsequent EVENTWAIT operation (or else it will probably abort with exitcode 99, meaning invalid control ID.)