home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a009 / 5.ddi / INCLUDE.LIF / ACHOICE.CH next >
Encoding:
Text File  |  1991-04-14  |  733 b   |  25 lines

  1. /***
  2. *    achoice.ch
  3. *    Standard definitions for ACHOICE() user function.
  4. *    Copyright (c) 1990 Nantucket Corp.  All Rights Reserved.
  5. */
  6.  
  7.  
  8. // User function entry modes
  9.  
  10. #define AC_IDLE            0        // Idle
  11. #define AC_HITTOP        1        // Attempt to cursor past top of list
  12. #define AC_HITBOTTOM    2        // Attempt to cursor past bottom of list
  13. #define AC_EXCEPT        3        // Keystroke exception
  14. #define AC_NOITEM        4        // No selectable items
  15.  
  16.  
  17. // User function return codes
  18.  
  19. #define AC_ABORT        0        // Abort ACHOICE(), return zero
  20. #define AC_SELECT        1        // Select current item, return item index
  21. #define AC_CONT            2        // Continue ACHOICE()
  22. #define AC_GOTO            3        // Go to the next item whose first character
  23.                                 // matches the last key pressed
  24.  
  25.