home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / CHARTFX.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  22KB  |  460 lines

  1. //----------------------------------------------------------------------------
  2. // ChartFX.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: ChartFX.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef ChartFXHPP
  6. #define ChartFXHPP
  7. //----------------------------------------------------------------------------
  8. #include <Menus.hpp>
  9. #include <Controls.hpp>
  10. #include <OleCtrls.hpp>
  11. #include <Graphics.hpp>
  12. #include <Classes.hpp>
  13. #include <OleCtl.hpp>
  14. #include <OLE2.hpp>
  15. #include <System.hpp>
  16. #pragma warn -par
  17. #pragma warn -hid 
  18. #pragma warn -inl
  19.  
  20. namespace Chartfx
  21. {
  22. //-- type declarations -------------------------------------------------------
  23. typedef void __fastcall (__closure *TChartFXLButtonDblClk)(System::TObject* Sender, short &X, short 
  24.     &Y, short &nSerie, short &nPoint, short &nRes);
  25.  
  26. typedef void __fastcall (__closure *TChartFXRButtonDown)(System::TObject* Sender, short &X, short &Y
  27.     , short &nSerie, short &nPoint, short &nRes);
  28.  
  29. typedef void __fastcall (__closure *TChartFXChangeValue)(System::TObject* Sender, double &dValue, short 
  30.     &nSerie, short &nPoint, short &nRes);
  31.  
  32. typedef void __fastcall (__closure *TChartFXChangeString)(System::TObject* Sender, short &nType, short 
  33.     &nIndex, short &nRes);
  34.  
  35. typedef void __fastcall (__closure *TChartFXChangeColor)(System::TObject* Sender, short &nType, short 
  36.     &nIndex, short &nRes);
  37.  
  38. typedef void __fastcall (__closure *TChartFXChangePalette)(System::TObject* Sender, short &nIndex, short 
  39.     &nRes);
  40.  
  41. typedef void __fastcall (__closure *TChartFXChangeFont)(System::TObject* Sender, short &nIndex, short 
  42.     &nRes);
  43.  
  44. typedef void __fastcall (__closure *TChartFXChangePattern)(System::TObject* Sender, short &nType, short 
  45.     &nIndex, short &nRes);
  46.  
  47. typedef void __fastcall (__closure *TChartFXChangePattPal)(System::TObject* Sender, short &nIndex, short 
  48.     &nRes);
  49.  
  50. typedef void __fastcall (__closure *TChartFXMenu)(System::TObject* Sender, short &wParam, short &nSerie
  51.     , short &nPoint, short &nRes);
  52.  
  53. typedef void __fastcall (__closure *TChartFXChangeType)(System::TObject* Sender, short &nType, short 
  54.     &nRes);
  55.  
  56. typedef void __fastcall (__closure *TChartFXUserScroll)(System::TObject* Sender, int wScrollMsg, int 
  57.     wScrollParam, short &nRes);
  58.  
  59. typedef void __fastcall (__closure *TChartFXGetLegend)(System::TObject* Sender, short nType, short &
  60.     nRes);
  61.  
  62. class __declspec(delphiclass) TChartFX;
  63. class __declspec(pascalimplementation) TChartFX : public Olectrls::TOleControl
  64. {
  65.     typedef Olectrls::TOleControl inherited;
  66.     
  67. private:
  68.     TChartFXLButtonDblClk FOnLButtonDblClk;
  69.     TChartFXRButtonDown FOnRButtonDown;
  70.     TChartFXChangeValue FOnChangeValue;
  71.     TChartFXChangeString FOnChangeString;
  72.     TChartFXChangeColor FOnChangeColor;
  73.     Classes::TNotifyEvent FOnDestroy;
  74.     Classes::TNotifyEvent FOnReadFile;
  75.     TChartFXChangePalette FOnChangePalette;
  76.     TChartFXChangeFont FOnChangeFont;
  77.     Classes::TNotifyEvent FOnReadTemplate;
  78.     TChartFXChangePattern FOnChangePattern;
  79.     TChartFXChangePattPal FOnChangePattPal;
  80.     TChartFXMenu FOnMenu;
  81.     TChartFXChangeType FOnChangeType;
  82.     TChartFXUserScroll FOnUserScroll;
  83.     TChartFXGetLegend FOnGetLegend;
  84.     double __stdcall Get_Value(short index);
  85.     void __stdcall Set_Value(short index, double Value);
  86.     double __stdcall Get_XValue(short index);
  87.     void __stdcall Set_XValue(short index, double Value);
  88.     double __stdcall Get_IniValue(short index);
  89.     void __stdcall Set_IniValue(short index, double Value);
  90.     double __stdcall Get_Const_(short index);
  91.     void __stdcall Set_Const_(short index, double Value);
  92.     Graphics::TColor __stdcall Get_Color(short index);
  93.     void __stdcall Set_Color(short index, Graphics::TColor Value);
  94.     Graphics::TColor __stdcall Get_BkColor(short index);
  95.     void __stdcall Set_BkColor(short index, Graphics::TColor Value);
  96.     double __stdcall Get_Adm(short index);
  97.     void __stdcall Set_Adm(short index, double Value);
  98.     short __stdcall Get_Pattern(short index);
  99.     void __stdcall Set_Pattern(short index, short Value);
  100.     int __stdcall Get_Fonts(short index);
  101.     void __stdcall Set_Fonts(short index, int Value);
  102.     System::AnsiString __stdcall Get_Title(short index);
  103.     void __stdcall Set_Title(short index, const System::AnsiString Value);
  104.     System::AnsiString __stdcall Get_Legend(short index);
  105.     void __stdcall Set_Legend(short index, const System::AnsiString Value);
  106.     System::AnsiString __stdcall Get_SerLeg(short index);
  107.     void __stdcall Set_SerLeg(short index, const System::AnsiString Value);
  108.     System::AnsiString __stdcall Get_KeyLeg(short index);
  109.     void __stdcall Set_KeyLeg(short index, const System::AnsiString Value);
  110.     System::AnsiString __stdcall Get_FixLeg(short index);
  111.     void __stdcall Set_FixLeg(short index, const System::AnsiString Value);
  112.     System::AnsiString __stdcall Get_YLeg(short index);
  113.     void __stdcall Set_YLeg(short index, const System::AnsiString Value);
  114.     System::AnsiString __stdcall Get_KeySer(short index);
  115.     void __stdcall Set_KeySer(short index, const System::AnsiString Value);
  116.     System::AnsiString __stdcall Get_StatusText(short index);
  117.     void __stdcall Set_StatusText(short index, const System::AnsiString Value);
  118.     Graphics::TColor __stdcall Get_RGBFont(short index);
  119.     void __stdcall Set_RGBFont(short index, Graphics::TColor Value);
  120.     short __stdcall Get_HFont(short index);
  121.     void __stdcall Set_HFont(short index, short Value);
  122.     short __stdcall Get_ItemWidth(short index);
  123.     void __stdcall Set_ItemWidth(short index, short Value);
  124.     short __stdcall Get_ItemStyle(short index);
  125.     void __stdcall Set_ItemStyle(short index, short Value);
  126.     Graphics::TColor __stdcall Get_ItemColor(short index);
  127.     void __stdcall Set_ItemColor(short index, Graphics::TColor Value);
  128.     short __stdcall Get_DecimalsNum(short index);
  129.     void __stdcall Set_DecimalsNum(short index, short Value);
  130.     
  131. protected:
  132.     virtual void __fastcall InitControlData(void);
  133.     
  134. public:
  135.     int __stdcall OpenDataEx(short nType, int n1, int n2);
  136.     Word __stdcall CloseData(short nType);
  137.     int __stdcall DblClk(short nType, int lExtra);
  138.     int __stdcall RigClk(short nType, int lExtra);
  139.     int __stdcall Status(short nItems, int lpStatus);
  140.     int __stdcall ShowDialog(short nDialog, int lExtra);
  141.     int __stdcall PrintIt(void);
  142.     int __stdcall Scroll(int wParam, int lParam);
  143.     int __stdcall SetStatusItem(short index, Word bText, short nID, Word bFrame, short nWidth, short nMin
  144.         , short nDesp, int dwStyle);
  145.     int __stdcall Paint(int hDC, short nLeft, short nTop, short nRight, short nBottom, short wAction, int 
  146.         lps);
  147.     int __stdcall SetStripe(short index, double dMin, double dMax, Graphics::TColor rgb);
  148.     int __stdcall Language(const System::AnsiString sResource);
  149.     int __stdcall ExportFile(const System::AnsiString lpszNewValue);
  150.     int __stdcall ImportFile(const System::AnsiString lpszNewValue);
  151.     int __stdcall WriteTemplate(const System::AnsiString lpszNewValue);
  152.     int __stdcall ReadTemplate(const System::AnsiString lpszNewValue);
  153.     int __stdcall CopyData(void);
  154.     int __stdcall CopyBitmap(void);
  155.     HIDESBASE void __stdcall Refresh(void);
  156.     void __stdcall AboutBox(void);
  157.     __property double Value[short index] = {read=Get_Value, write=Set_Value};
  158.     __property double XValue[short index] = {read=Get_XValue, write=Set_XValue};
  159.     __property double IniValue[short index] = {read=Get_IniValue, write=Set_IniValue};
  160.     __property double Const_[short index] = {read=Get_Const_, write=Set_Const_};
  161.     __property Graphics::TColor Color[short index] = {read=Get_Color, write=Set_Color};
  162.     __property Graphics::TColor BkColor[short index] = {read=Get_BkColor, write=Set_BkColor};
  163.     __property double Adm[short index] = {read=Get_Adm, write=Set_Adm};
  164.     __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
  165.     __property int Fonts[short index] = {read=Get_Fonts, write=Set_Fonts};
  166.     __property System::AnsiString Title[short index] = {read=Get_Title, write=Set_Title};
  167.     __property System::AnsiString Legend[short index] = {read=Get_Legend, write=Set_Legend};
  168.     __property System::AnsiString SerLeg[short index] = {read=Get_SerLeg, write=Set_SerLeg};
  169.     __property System::AnsiString KeyLeg[short index] = {read=Get_KeyLeg, write=Set_KeyLeg};
  170.     __property System::AnsiString FixLeg[short index] = {read=Get_FixLeg, write=Set_FixLeg};
  171.     __property System::AnsiString YLeg[short index] = {read=Get_YLeg, write=Set_YLeg};
  172.     __property System::AnsiString KeySer[short index] = {read=Get_KeySer, write=Set_KeySer};
  173.     __property System::AnsiString StatusText[short index] = {read=Get_StatusText, write=Set_StatusText}
  174.         ;
  175.     __property Graphics::TColor RGBFont[short index] = {read=Get_RGBFont, write=Set_RGBFont};
  176.     __property short HFont[short index] = {read=Get_HFont, write=Set_HFont};
  177.     __property short ItemWidth[short index] = {read=Get_ItemWidth, write=Set_ItemWidth};
  178.     __property short ItemStyle[short index] = {read=Get_ItemStyle, write=Set_ItemStyle};
  179.     __property Graphics::TColor ItemColor[short index] = {read=Get_ItemColor, write=Set_ItemColor};
  180.     __property short DecimalsNum[short index] = {read=Get_DecimalsNum, write=Set_DecimalsNum};
  181.     
  182. __published:
  183.     __property TabStop ;
  184.     __property DragCursor ;
  185.     __property DragMode ;
  186.     __property ParentShowHint ;
  187.     __property PopupMenu ;
  188.     __property ShowHint ;
  189.     __property TabOrder ;
  190.     __property Visible ;
  191.     __property OnDragDrop ;
  192.     __property OnDragOver ;
  193.     __property OnEndDrag ;
  194.     __property OnEnter ;
  195.     __property OnExit ;
  196.     __property OnStartDrag ;
  197.     __property short DesignDraw = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4, 
  198.         nodefault};
  199.     __property short ThisSerie = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1, nodefault
  200.         };
  201.     __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2, nodefault
  202.         };
  203.     __property Word AutoInvalidate = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=3, 
  204.         nodefault};
  205.     __property int Type_ = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, nodefault
  206.         };
  207.     __property int Style = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6, nodefault
  208.         };
  209.     __property short NSeries = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7, nodefault
  210.         };
  211.     __property short NValues = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=8, nodefault
  212.         };
  213.     __property Graphics::TColor ThisColor = {read=GetColorProp, write=SetColorProp, stored=false, index=9
  214.         , nodefault};
  215.     __property Graphics::TColor ThisBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=10
  216.         , nodefault};
  217.     __property short LeftGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
  218.         };
  219.     __property short RightGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=12, nodefault
  220.         };
  221.     __property short TopGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13, nodefault
  222.         };
  223.     __property short BottomGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=14, 
  224.         nodefault};
  225.     __property short Decimals = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=15, nodefault
  226.         };
  227.     __property short PointType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16, 
  228.         nodefault};
  229.     __property short Scheme = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17, nodefault
  230.         };
  231.     __property short Stacked = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18, nodefault
  232.         };
  233.     __property short Grid = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=19, nodefault
  234.         };
  235.     __property short WallWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20, 
  236.         nodefault};
  237.     __property short BarHorzGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=21, 
  238.         nodefault};
  239.     __property Word View3D = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=22, nodefault
  240.         };
  241.     __property int Angles3D = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=23, nodefault
  242.         };
  243.     __property short PixFactor = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=24, 
  244.         nodefault};
  245.     __property short LineWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=25, 
  246.         nodefault};
  247.     __property short LineStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=26, 
  248.         nodefault};
  249.     __property Graphics::TColor LineColor = {read=GetColorProp, write=SetColorProp, stored=false, index=27
  250.         , nodefault};
  251.     __property Graphics::TColor LineBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=28
  252.         , nodefault};
  253.     __property short FixedWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=29, 
  254.         nodefault};
  255.     __property short FixedStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30, 
  256.         nodefault};
  257.     __property Graphics::TColor FixedColor = {read=GetColorProp, write=SetColorProp, stored=false, index=31
  258.         , nodefault};
  259.     __property Graphics::TColor FixedBkColor = {read=GetColorProp, write=SetColorProp, stored=false, index=32
  260.         , nodefault};
  261.     __property short FixedGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33, nodefault
  262.         };
  263.     __property Graphics::TColor RGBBarHorz = {read=GetColorProp, write=SetColorProp, stored=false, index=34
  264.         , nodefault};
  265.     __property Graphics::TColor RGBBk = {read=GetColorProp, write=SetColorProp, stored=false, index=35, 
  266.         nodefault};
  267.     __property Graphics::TColor RGB2DBk = {read=GetColorProp, write=SetColorProp, stored=false, index=36
  268.         , nodefault};
  269.     __property Graphics::TColor RGB3DBk = {read=GetColorProp, write=SetColorProp, stored=false, index=37
  270.         , nodefault};
  271.     __property Word ShowStatus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=38, nodefault
  272.         };
  273.     __property System::AnsiString HText = {read=GetStringProp, write=SetStringProp, stored=false, index=39
  274.         , nodefault};
  275.     __property short ChartStatus = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=40
  276.         , nodefault};
  277.     __property short Edit = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=41, nodefault
  278.         };
  279.     __property short ChartType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42, 
  280.         nodefault};
  281.     __property Word Chart3D = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=43, nodefault
  282.         };
  283.     __property Word ToolBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=44, nodefault
  284.         };
  285.     __property Word PaletteBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=45, nodefault
  286.         };
  287.     __property Word PatternBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=46, nodefault
  288.         };
  289.     __property int CustTool = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=47, nodefault
  290.         };
  291.     __property int ReturnValue = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=48, nodefault
  292.         };
  293.     __property Word AutoIncrement = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=49, 
  294.         nodefault};
  295.     __property double ThisValue = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=50};
  296.     __property short VertGridGap = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51
  297.         , nodefault};
  298.     __property short XLegType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=52, nodefault
  299.         };
  300.     __property short ConstType = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=53, 
  301.         nodefault};
  302.     __property System::Variant LeftFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=54
  303.         };
  304.     __property System::Variant RightFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=55
  305.         };
  306.     __property System::Variant TopFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=56
  307.         };
  308.     __property System::Variant BottomFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=57
  309.         };
  310.     __property System::Variant XLegFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=58
  311.         };
  312.     __property System::Variant YLegFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=59
  313.         };
  314.     __property System::Variant FixedFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=60
  315.         };
  316.     __property System::Variant LegendFont = {read=GetVariantProp, write=SetVariantProp, stored=false, index=61
  317.         };
  318.     __property short LegendWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=62
  319.         , nodefault};
  320.     __property Word Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514, nodefault
  321.         };
  322.     __property int hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515, nodefault
  323.         };
  324.     __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
  325.         , nodefault};
  326.     __property int hCtlWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=63, nodefault
  327.         };
  328.     __property TChartFXLButtonDblClk OnLButtonDblClk = {read=FOnLButtonDblClk, write=FOnLButtonDblClk};
  329.         
  330.     __property TChartFXRButtonDown OnRButtonDown = {read=FOnRButtonDown, write=FOnRButtonDown};
  331.     __property TChartFXChangeValue OnChangeValue = {read=FOnChangeValue, write=FOnChangeValue};
  332.     __property TChartFXChangeString OnChangeString = {read=FOnChangeString, write=FOnChangeString};
  333.     __property TChartFXChangeColor OnChangeColor = {read=FOnChangeColor, write=FOnChangeColor};
  334.     __property Classes::TNotifyEvent OnDestroy = {read=FOnDestroy, write=FOnDestroy};
  335.     __property Classes::TNotifyEvent OnReadFile = {read=FOnReadFile, write=FOnReadFile};
  336.     __property TChartFXChangePalette OnChangePalette = {read=FOnChangePalette, write=FOnChangePalette};
  337.         
  338.     __property TChartFXChangeFont OnChangeFont = {read=FOnChangeFont, write=FOnChangeFont};
  339.     __property Classes::TNotifyEvent OnReadTemplate = {read=FOnReadTemplate, write=FOnReadTemplate};
  340.     __property TChartFXChangePattern OnChangePattern = {read=FOnChangePattern, write=FOnChangePattern};
  341.         
  342.     __property TChartFXChangePattPal OnChangePattPal = {read=FOnChangePattPal, write=FOnChangePattPal};
  343.         
  344.     __property TChartFXMenu OnMenu = {read=FOnMenu, write=FOnMenu};
  345.     __property TChartFXChangeType OnChangeType = {read=FOnChangeType, write=FOnChangeType};
  346.     __property TChartFXUserScroll OnUserScroll = {read=FOnUserScroll, write=FOnUserScroll};
  347.     __property TChartFXGetLegend OnGetLegend = {read=FOnGetLegend, write=FOnGetLegend};
  348. public:
  349.     /* TOleControl.Create */ __fastcall virtual TChartFX(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  350.         AOwner) { }
  351.     /* TOleControl.Destroy */ __fastcall virtual ~TChartFX(void) { }
  352.     
  353. public:
  354.     /* TWinControl.CreateParented */ __fastcall TChartFX(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  355.         ) { }
  356.     
  357. };
  358.  
  359. //-- var, const, procedure ---------------------------------------------------
  360. #define CHART_NONEMK (Byte)(0)
  361. #define CHART_RECTMK (Byte)(1)
  362. #define CHART_CIRCLEMK (Byte)(2)
  363. #define CHART_TRIANGLEMK (Byte)(3)
  364. #define CHART_MARBLEMK (Byte)(4)
  365. #define CHART_CUBEMK (Byte)(5)
  366. #define CHART_MANYMK (Byte)(6)
  367. #define CHART_CSSOLID (Byte)(0)
  368. #define CHART_CSBWPATTERN (Byte)(1)
  369. #define CHART_CSPATTERN (Byte)(2)
  370. #define CHART_NOSTACKED (Byte)(0)
  371. #define CHART_STACKED (Byte)(1)
  372. #define CHART_STACKED100 (Byte)(2)
  373. #define CHART_NOGRID (Byte)(0)
  374. #define CHART_HORZGRID (Byte)(1)
  375. #define CHART_VERTGRID (Byte)(2)
  376. #define CHART_BOTHGRID (Byte)(3)
  377. #define CHART_GRIDY2 (Byte)(4)
  378. #define LINES (Byte)(1)
  379. #define BAR (Byte)(2)
  380. #define SPLINE (Byte)(3)
  381. #define MARK (Byte)(4)
  382. #define PIE (Byte)(5)
  383. #define AREA (Byte)(6)
  384. #define PARETO (Byte)(7)
  385. #define SCATTER (Byte)(8)
  386. #define HILOW (Byte)(9)
  387. #define CC_HIDETEXT (Byte)(1)
  388. #define CC_HIDE (Byte)(2)
  389. #define CL_NOTCLIPPED (Byte)(1)
  390. #define CL_NOTCHANGECOLOR (Byte)(2)
  391. #define CL_HIDE (Byte)(4)
  392. #define CL_HIDEXLEG (Byte)(4)
  393. #define CL_FORCESERLEG (Byte)(8)
  394. #define CL_GETLEGEND (Byte)(16)
  395. #define CL_HIDEYLEG (Byte)(32)
  396. #define COD_VALUES (Byte)(1)
  397. #define COD_CONSTANTS (Byte)(2)
  398. #define COD_COLORS (Byte)(3)
  399. #define COD_STRIPES (Byte)(4)
  400. #define COD_INIVALUES (Byte)(5)
  401. #define COD_XVALUES (Byte)(6)
  402. #define COD_STATUSITEMS (Byte)(7)
  403. #define COD_UNKNOWN (Shortint)(-1)
  404. #define COD_UNCHANGE (Byte)(0)
  405. #define CHART_BALLOONCLK (Byte)(0)
  406. #define CHART_DIALOGCLK (Byte)(1)
  407. #define CHART_NONECLK (Byte)(2)
  408. #define CHART_MENUCLK (Byte)(3)
  409. #define CDIALOG_EXPORTFILE (Byte)(14)
  410. #define CDIALOG_IMPORTFILE (Byte)(15)
  411. #define CDIALOG_WRITETEMPLATE (Byte)(8)
  412. #define CDIALOG_READTEMPLATE (Byte)(9)
  413. #define CDIALOG_PAGESETUP (Byte)(4)
  414. #define CDIALOG_ABOUT (Byte)(11)
  415. #define CDIALOG_OPTIONS (Byte)(12)
  416. #define CDIALOG_EDITTITLES (Byte)(35)
  417. #define CDIALOG_FONTS (Byte)(39)
  418. #define CDIALOG_ROTATE (Byte)(52)
  419. #define CSA_MIN (Byte)(0)
  420. #define CSA_MAX (Byte)(1)
  421. #define CSA_GAP (Byte)(2)
  422. #define CSA_SCALE (Byte)(3)
  423. #define CSA_YLEGGAP (Byte)(4)
  424. #define CSA_PIXXVALUE (Byte)(5)
  425. #define CSA_XMIN (Byte)(6)
  426. #define CSA_XMAX (Byte)(7)
  427. #define CSA_XGAP (Byte)(8)
  428. #define CSA_LOGBASE (Byte)(9)
  429. #define CHART_LEFTTIT (Byte)(0)
  430. #define CHART_RIGHTTIT (Byte)(1)
  431. #define CHART_TOPTIT (Byte)(2)
  432. #define CHART_BOTTOMTIT (Byte)(3)
  433. #define CHART_LEFTFT (Byte)(0)
  434. #define CHART_RIGHTFT (Byte)(1)
  435. #define CHART_TOPFT (Byte)(2)
  436. #define CHART_BOTTOMFT (Byte)(3)
  437. #define CHART_XLEGFT (Byte)(4)
  438. #define CHART_YLEGFT (Byte)(5)
  439. #define CHART_FIXEDFT (Byte)(6)
  440. #define CHART_LEGENDFT (Byte)(7)
  441. #define CI_HORZGRID (Byte)(0)
  442. #define CI_VERTGRID (Byte)(1)
  443. #define CD_ALL (Byte)(0)
  444. #define CD_VALUES (Byte)(1)
  445. #define CD_YLEG (Byte)(2)
  446. #define CD_XLEG (Byte)(3)
  447. extern void __fastcall Register(void);
  448.  
  449. }    /* namespace Chartfx */
  450.  
  451. #pragma warn .par
  452. #pragma warn .hid 
  453. #pragma warn .inl
  454.  
  455. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  456. using namespace Chartfx;
  457. #endif
  458. //-- end unit ----------------------------------------------------------------
  459. #endif    // ChartFX
  460.