home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / ACHOICE.C_ / ACHOICE.C
Text File  |  1995-06-26  |  953b  |  34 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. 
  34.