home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / FFC / AUTGRAPH.H < prev    next >
Encoding:
Text File  |  1998-05-26  |  4.3 KB  |  106 lines

  1. *- AUTGRAPH.H
  2. *- #DEFINEs for AUTGRAPH.VCX
  3.  
  4. #DEFINE L_DEBUG .F.
  5.  
  6. *- localize these
  7. #DEFINE ALERTTITLE_LOC            "Microsoft Visual FoxPro Wizards"
  8.  
  9. #DEFINE        OS_W32S                1
  10. #DEFINE        OS_NT                2
  11. #DEFINE        OS_WIN95            3
  12.  
  13. #DEFINE     HKEY_CLASSES_ROOT   -2147483648  && BITSET(0,31)
  14. #DEFINE     HKEY_CURRENT_USER   -2147483647  && BITSET(0,31)+1
  15. #DEFINE     HKEY_LOCAL_MACHINE  -2147483646  && (( HKEY ) 0x80000002 )
  16.  
  17. #DEFINE     ERROR_SUCCESS        0
  18.  
  19. #DEFINE        C_GRAPHDBF            "vfpgraph.dbf"
  20. #DEFINE        C_GRAPHSCX            "vfpgraph.scx"
  21.  
  22. #DEFINE MSGRAPH_CLASS        "MSGraph.Chart"        && version of MS Graph needed
  23. #DEFINE MSGRAPH_8_CLASS        "MSGraph.Chart.8"    && class of MS Graph needed
  24. #DEFINE MSGRAPH_VERSION        5                    && version of MS Graph needed
  25. #DEFINE MSGRAPH_APPNAME        "Microsoft Graph"    && app name returned by application.name
  26. #DEFINE MAX_MSGRAPH         4000
  27. #DEFINE MAX_DATAPOINTS        100
  28. #DEFINE PIETYPE             5
  29. #DEFINE TAB                 CHR(9)
  30. #DEFINE CRLF                 CHR(13)+CHR(10)
  31. #DEFINE IS_NO                7
  32. #DEFINE IS_YES                6
  33. #DEFINE IS_CANCEL            2
  34. #DEFINE OKCAN_DIALOG        33
  35. #DEFINE YESNOCAN_DIALOG        35
  36. #DEFINE YESNO_DIALOG        36
  37. #DEFINE NO_BTN                256
  38. #DEFINE I_DEFAULTGALLERY    21
  39.  
  40. #DEFINE C_BADMSGRAPH_LOC    "Microsoft Graph does not appear to be installed properly. The latest version of Graph is available from Microsoft Office."
  41. #DEFINE C_NOMSGRAPH_LOC        "Could not locate MS Graph file. Please reinstall it from Microsoft Office."
  42. #DEFINE C_MSGRAPHVER_LOC    "You must have MS Graph version 8.0 loaded. Please install correct version from Microsoft Office."
  43. #DEFINE C_NOSOURCE_LOC        "No datasource selected. Graph automation tool terminated."
  44. #DEFINE C_SAVEPROMPT1_LOC    "Save graph in table:"
  45. #DEFINE C_SAVEPROMPT2_LOC    "Save graph in query:"
  46. #DEFINE C_SAVEPROMPT3_LOC    "Save graph in form:"
  47. #DEFINE C_FILEINUSE_LOC        "The table you selected is already in use."
  48. #DEFINE C_READONLY_LOC        "The table you selected is read-only."
  49. #DEFINE C_NODATAPOINTS_LOC    "No data points to graph."
  50. #DEFINE C_MAXGRAPH_LOC        "You have over " + ALLTRIM(STR(MAX_MSGRAPH)) + " records in your table. "+;
  51.                             "This exceeds the maximum allowed by MS Graph."
  52. #DEFINE C_TOOMANYPOINTS_LOC    "You have over "+ALLTRIM(STR(MAX_DATAPOINTS))+" records to graph. "+;
  53.                             "The graph may be crowded and hard to read. "+;
  54.                             "Do you want to prepare the graph anyway?"
  55. #DEFINE C_BADCATEGORY_LOC    "The category field specified is not in the selected table."
  56. #DEFINE C_NOTNUMERIC_LOC    "The data fields chosen are not all numeric. "+;
  57.                             "Do you want to continue plotting only those series which are numeric?"
  58. #DEFINE C_BADDATAFIELD_LOC    "One of the data fields is not in the selected table."
  59. #DEFINE C_NODATAFLDS_LOC    "No numeric data fields were found"
  60. #DEFINE C_WAITDATA_LOC        "Adding data to graph..."
  61. #DEFINE C_WAITFORMAT_LOC    "Formatting graph..."
  62. #DEFINE C_HADERROR_LOC        "An error occurred in writing your graph to the selected table. "+;
  63.                             "Check to see if the table is already in use."
  64. #DEFINE C_OLEERROR_LOC        "Could not proceed because an OLE Error Occurred."
  65.  
  66. #DEFINE C_BADFIELDS_LOC        "The source graph table does not have a valid General field."
  67. #DEFINE C_APPENDREC_LOC        "You have selected a table which already exists. "+;
  68.                             "Choose Yes to append your graph to the existing table or No to create a new table."
  69. #DEFINE C_NOAPPENDREC_LOC    "You have selected a table which does not have a General field for adding your graph. "+;
  70.                             "Would you like to create a new table?"
  71. #DEFINE C_HADERROR_LOC        "An error occurred in writing your graph to the selected table. "+;
  72.                             "Check to see if the table is already in use."
  73.  
  74. #DEFINE C_CLOSE_LOC            "Close"
  75. #DEFINE C_FORMCAPTION_LOC    "VFP Graph"
  76. #DEFINE C_PRVWCAPTION_LOC    "Graph Preview"
  77.  
  78. #IF 1
  79.     *- chart types for Graph5
  80.     #DEFINE I_AREA_GRAPH        1
  81.     #DEFINE I_AREA3D_GRAPH        9
  82.     #DEFINE I_BAR_GRAPH            2
  83.     #DEFINE I_BAR3D_GRAPH        10
  84.     #DEFINE I_COLUMN_GRAPH        3
  85.     #DEFINE I_COLUMN3D_GRAPH    11
  86.     #DEFINE I_PIE_GRAPH            7
  87.     #DEFINE I_PIE3D_GRAPH        8
  88.     #DEFINE I_LINE_GRAPH        1
  89.     #DEFINE I_LINE3D_GRAPH        12
  90.     #DEFINE I_HILO_GRAPH        8
  91.     #DEFINE I_HILOCOLOR_GRAPH    7
  92. #ELSE
  93.     #DEFINE I_AREA_GRAPH        76
  94.     #DEFINE I_AREA3D_GRAPH        78
  95.     #DEFINE I_BAR_GRAPH            57
  96.     #DEFINE I_BAR3D_GRAPH        60
  97.     #DEFINE I_COLUMN_GRAPH        51
  98.     #DEFINE I_COLUMN3D_GRAPH    54
  99.     #DEFINE I_PIE_GRAPH            5
  100.     #DEFINE I_PIE3D_GRAPH        -4102
  101.     #DEFINE I_LINE_GRAPH        4
  102.     #DEFINE I_LINE3D_GRAPH        -4101
  103.     #DEFINE I_HILO_GRAPH        88
  104.     #DEFINE I_HILOCOLOR_GRAPH    88
  105. #ENDIF
  106.