home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / CHLIST.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  869 b   |  60 lines

  1. #define CHLIST_OPH
  2.  
  3. #ifndef LODGER_OPH
  4. #include <sdk\lodger>
  5. #endif
  6.  
  7. #ifndef VARES_OPH
  8. #include <sdk\vares>
  9. #endif
  10.  
  11. #ifndef MATCHER_OPH
  12. #include <sdk\matcher>
  13. #endif
  14.  
  15. #ifndef LISTBOX_OPH
  16. #include <sdk\listbox>
  17. #endif
  18.  
  19. /* Constants for chlist */
  20.  
  21. #define SE_CHLIST_NSEL 0x01
  22. #define SE_CHLIST_DATA 0x02
  23. #define SE_CHLIST_RETAIN 0x04
  24. #define IN_CHLIST_INCREMENTAL 0x01
  25. #define PR_CHLIST_RETAIN 0x04
  26. #define PR_CHLIST_SUSPENDED 0x08
  27. #define PR_CHLIST_FIXED_WIDTH 0x10
  28.  
  29. /* Types for chlist */
  30.  
  31. STRUCT IN_CHLIST
  32.     rid%
  33.     nsel#
  34.     flags#
  35. ENDS
  36.  
  37. STRUCT SE_CHLIST
  38.     set_flags%
  39.     data%
  40.     nsel%
  41. ENDS
  42.  
  43. /* Property of chlist */
  44.  
  45. STRUCT PRS_CHLIST
  46.     pop%
  47.     matcher%
  48.     data%
  49.     nsel%
  50.     flags%
  51.     matchlen%
  52. ENDS
  53.  
  54. STRUCT PR_CHLIST
  55.     root#(SIZEOF(PRS_ROOT))
  56.     win#(SIZEOF(PRS_WIN))
  57.     lodger#(SIZEOF(PRS_LODGER))
  58.     chlist#(SIZEOF(PRS_CHLIST))
  59. ENDS
  60.