home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / ACHOICE.CH next >
Text File  |  1993-08-06  |  951b  |  33 lines

  1. /***
  2. *
  3. *  Achoice.ch
  4. *
  5. *  Standard definitions for ACHOICE() user function
  6. *
  7. *  Copyright (c) 1990-1993, Computer Associates International, Inc.
  8. *  All rights reserved.
  9. *
  10. */
  11.  
  12.  
  13. // User function entry modes
  14.  
  15. #define AC_IDLE        0      // Idle
  16. #define AC_HITTOP      1      // Attempt to cursor past top of list
  17. #define AC_HITBOTTOM   2      // Attempt to cursor past bottom of list
  18. #define AC_EXCEPT      3      // Keystroke exception
  19. #define AC_NOITEM      4      // No selectable items
  20.  
  21.  
  22. // User function return codes
  23.  
  24. #define AC_ABORT     0      // Abort ACHOICE(), return zero
  25. #define AC_SELECT    1      // Select current item, return item index
  26. #define AC_CONT      2      // Continue ACHOICE()
  27. #define AC_GOTO      3      // Go to the next item whose first character
  28.                             // matches the last key pressed
  29. #define AC_REDRAW    4      // Re-Draw the ACHOICE() window.
  30.  
  31. #define _ACHOICE_CH
  32.  
  33.