home *** CD-ROM | disk | FTP | other *** search
/ Total C++ 2 / TOTALCTWO.iso / vfp5.0 / vfp / samples / tastrade / include / tastrade.h < prev   
Encoding:
Text File  |  1996-08-21  |  1.8 KB  |  57 lines

  1. *-- (c) Microsoft Corporation 1995
  2.  
  3. *-- Common include file
  4. #INCLUDE "FOXPRO.H"
  5. #INCLUDE "STRINGS.H"
  6.  
  7. #DEFINE DEBUGMODE    .F.
  8. #DEFINE INIFILE        "TASTRADE.INI"
  9. #DEFINE CRLF        CHR(13) + CHR(10)
  10. #DEFINE CR            CHR(13)
  11. #DEFINE TAB            CHR(9)
  12.  
  13. #DEFINE CURRENCY    "$"
  14. #DEFINE AERRORARRAY    7
  15.  
  16. *-- These constants are used in tsbaseform to 
  17. *-- indicate the status of the current alias
  18. #DEFINE FILE_OK        0
  19. #DEFINE FILE_BOF    1
  20. #DEFINE FILE_EOF    2
  21. #DEFINE FILE_CANCEL    3
  22.  
  23. *-- Constants to identify which trigger failed
  24. *-- using element 5 of the array returned by 
  25. *-- AERROR(), as well as to reference the appropriate
  26. *-- array element in the error message array: aErrorMsg[]
  27. #DEFINE INSERTTRIG  1
  28. #DEFINE UPDATETRIG  2
  29. #DEFINE DELETETRIG  3
  30.  
  31. *-- Constants used to read the system registry
  32. #DEFINE HKEY_LOCAL_MACHINE            -2147483646  
  33. #DEFINE KEY_SHARED_TOOLS_LOCATION    "Software\Microsoft\Shared Tools Location"
  34. #DEFINE KEY_NTCURRENTVERSION        "Software\Microsoft\Windows NT\CurrentVersion"
  35. #DEFINE KEY_WIN4CURRENTVERSION        "Software\Microsoft\Windows\CurrentVersion"
  36. #DEFINE KEY_WIN4_MSINFO                "Software\Microsoft\Shared Tools\MSInfo"
  37. #DEFINE KEY_QUERY_VALUE                1
  38. #DEFINE ERROR_SUCCESS                0
  39.  
  40. #DEFINE ADMINBAR_LOC "Administration"
  41. #DEFINE ALL_LOC "All"
  42.  
  43. #DEFINE USER_APPDEV_LOC "APPLICATIONS DEVELOPER"
  44. #DEFINE USER_OPSMGR_LOC "OPERATIONS MANAGER"
  45.  
  46. #DEFINE DOLLAR_FORMAT1_LOC ": $"
  47. #DEFINE DOLLAR_FORMAT2_LOC ""
  48. #DEFINE DOLLAR_FORMAT3_LOC "$"
  49. #DEFINE SEEKVALUE_LOC    "*Case Study"
  50.  
  51. #DEFINE SYS2011_EXCLUSIVE_LOC     "EXCLUSIVE"
  52. #DEFINE SYS2011_RECLOCK_LOC     "RECORD LOCKED"
  53. #DEFINE SYS2011_RECUNLOCK_LOC     "RECORD UNLOCKED"
  54.  
  55. #DEFINE    I_SHPMIN    111            && how far left can the Behind the Scenes splitter go?
  56. #DEFINE I_SHPMAX    303            && how far right can the Behind the Scenes splitter go?
  57.