home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / MEMOEDIT.CH < prev    next >
Text File  |  1993-02-15  |  1KB  |  37 lines

  1. /***
  2. *
  3. *  Memoedit.ch
  4. *
  5. *  Standard definitions for MEMOEDIT() 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 ME_IDLE       0      // idle, all keys processed
  16. #define ME_UNKEY      1      // unknown key, memo unaltered
  17. #define ME_UNKEYX     2      // unknown key, memo altered
  18. #define ME_INIT       3      // initialization mode
  19.  
  20.  
  21. // User function return codes
  22.  
  23. #define ME_DEFAULT       0      // perform default action
  24. #define ME_IGNORE       32      // ignore unknown key
  25. #define ME_DATA         33      // treat unknown key as data
  26. #define ME_TOGGLEWRAP   34      // toggle word-wrap mode
  27. #define ME_TOGGLESCROLL 35      // toggle scrolling mode
  28. #define ME_WORDRIGHT   100      // perform word-right operation
  29. #define ME_BOTTOMRIGHT 101      // perform bottom-right operation
  30.  
  31.  
  32. // NOTE:  Return codes 1 - 31 cause MEMOEDIT() to perform the
  33. // edit action corresponding to the key whose value is returned.
  34.  
  35. #define _MEMOEDIT_CH
  36.  
  37.