home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
52capi.zip
/
ACHOICE.CH
next >
Wrap
Text File
|
1993-08-06
|
951b
|
33 lines
/***
*
* Achoice.ch
*
* Standard definitions for ACHOICE() user function
*
* Copyright (c) 1990-1993, Computer Associates International, Inc.
* All rights reserved.
*
*/
// User function entry modes
#define AC_IDLE 0 // Idle
#define AC_HITTOP 1 // Attempt to cursor past top of list
#define AC_HITBOTTOM 2 // Attempt to cursor past bottom of list
#define AC_EXCEPT 3 // Keystroke exception
#define AC_NOITEM 4 // No selectable items
// User function return codes
#define AC_ABORT 0 // Abort ACHOICE(), return zero
#define AC_SELECT 1 // Select current item, return item index
#define AC_CONT 2 // Continue ACHOICE()
#define AC_GOTO 3 // Go to the next item whose first character
// matches the last key pressed
#define AC_REDRAW 4 // Re-Draw the ACHOICE() window.
#define _ACHOICE_CH