iplotx.h
00001 #if !defined(AFX_IPLOTX_H__70F41531_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_)
00002 #define AFX_IPLOTX_H__70F41531_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011
00012
00013
00014 class CiPlotAxisX;
00015 class CiPlotLegendX;
00016 class CiPlotToolBarX;
00017 class CiPlotDataViewX;
00018 class COleFont;
00019 class CiPlotAnnotationX;
00020 class CPicture;
00021 class CiPlotChannelX;
00022
00024
00025
00026 class CiPlotX : public CWnd
00027 {
00028 protected:
00029 DECLARE_DYNCREATE(CiPlotX)
00030 public:
00031 CLSID const& GetClsid()
00032 {
00033 static CLSID const clsid
00034 = { 0x1791c036, 0x8981, 0x492a, { 0xbd, 0x28, 0xf2, 0x33, 0x1b, 0xc9, 0xb7, 0xc7 } };
00035 return clsid;
00036 }
00037 virtual BOOL Create(LPCTSTR lpszClassName,
00038 LPCTSTR lpszWindowName, DWORD dwStyle,
00039 const RECT& rect,
00040 CWnd* pParentWnd, UINT nID,
00041 CCreateContext* pContext = NULL)
00042 { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
00043
00044 BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
00045 const RECT& rect, CWnd* pParentWnd, UINT nID,
00046 CFile* pPersist = NULL, BOOL bStorage = FALSE,
00047 BSTR bstrLicKey = NULL)
00048 { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
00049 pPersist, bStorage, bstrLicKey); }
00050
00051
00052 public:
00053
00054
00055 public:
00056 long GetDataViewZHorz();
00057 void SetDataViewZHorz(long nNewValue);
00058 long GetDataViewZVert();
00059 void SetDataViewZVert(long nNewValue);
00060 BOOL GetXYAxesReverse();
00061 void SetXYAxesReverse(BOOL bNewValue);
00062 long GetOuterMarginLeft();
00063 void SetOuterMarginLeft(long nNewValue);
00064 long GetOuterMarginTop();
00065 void SetOuterMarginTop(long nNewValue);
00066 long GetOuterMarginRight();
00067 void SetOuterMarginRight(long nNewValue);
00068 long GetOuterMarginBottom();
00069 void SetOuterMarginBottom(long nNewValue);
00070 long GetPrintOrientation();
00071 void SetPrintOrientation(long nNewValue);
00072 double GetPrintMarginLeft();
00073 void SetPrintMarginLeft(double newValue);
00074 double GetPrintMarginTop();
00075 void SetPrintMarginTop(double newValue);
00076 double GetPrintMarginRight();
00077 void SetPrintMarginRight(double newValue);
00078 double GetPrintMarginBottom();
00079 void SetPrintMarginBottom(double newValue);
00080 BOOL GetPrintShowDialog();
00081 void SetPrintShowDialog(BOOL bNewValue);
00082 long GetUpdateFrameRate();
00083 void SetUpdateFrameRate(long nNewValue);
00084 unsigned long GetBackGroundColor();
00085 void SetBackGroundColor(unsigned long newValue);
00086 long GetBorderStyle();
00087 void SetBorderStyle(long nNewValue);
00088 BOOL GetAutoFrameRate();
00089 void SetAutoFrameRate(BOOL bNewValue);
00090 void AboutBox();
00091 CiPlotAxisX GetXAxis(long Index);
00092 CiPlotAxisX GetYAxis(long Index);
00093 CiPlotLegendX GetLegend(long Index);
00094 CiPlotToolBarX GetToolBar(long Index);
00095 CiPlotDataViewX GetDataView(long Index);
00096 void DisableLayoutManager();
00097 void EnableLayoutManager();
00098 void DisableAllTracking();
00099 void EnableAllTracking();
00100 long AddXAxis();
00101 long AddYAxis();
00102 long AddLegend();
00103 long AddToolBar();
00104 long AddDataView();
00105 long AddChannel();
00106 void RemoveAllXAxes();
00107 void RemoveAllYAxes();
00108 void RemoveAllLegends();
00109 void RemoveAllToolBars();
00110 void RemoveAllDataViews();
00111 void RemoveAllChannels();
00112 long GetXAxisCount();
00113 long GetYAxisCount();
00114 long GetLegendCount();
00115 long GetToolBarCount();
00116 long GetDataViewCount();
00117 long GetChannelCount();
00118 BOOL GetHintsShow();
00119 void SetHintsShow(BOOL bNewValue);
00120 long GetHintsPause();
00121 void SetHintsPause(long nNewValue);
00122 long GetHintsHidePause();
00123 void SetHintsHidePause(long nNewValue);
00124 void DeleteToolBar(long Index);
00125 void DeleteLegend(long Index);
00126 void DeleteXAxis(long Index);
00127 void DeleteYAxis(long Index);
00128 void DeleteChannel(long Index);
00129 void DeleteDataView(long Index);
00130 void ShowPropertyEditor();
00131 BOOL GetTitleVisible();
00132 void SetTitleVisible(BOOL bNewValue);
00133 CString GetTitleText();
00134 void SetTitleText(LPCTSTR lpszNewValue);
00135 double GetTitleMargin();
00136 void SetTitleMargin(double newValue);
00137 COleFont GetTitleFont();
00138 void SetTitleFont(LPDISPATCH newValue);
00139 unsigned long GetTitleFontColor();
00140 void SetTitleFontColor(unsigned long newValue);
00141 void RemoveAllAnnotations();
00142 void DeleteAnnotation(long Index);
00143 long AddAnnotation();
00144 long GetAnnotationCount();
00145 CiPlotAnnotationX GetAnnotation(long Index);
00146 long GetChannelIndexByName(LPCTSTR Value);
00147 long GetXAxisIndexByName(LPCTSTR Value);
00148 long GetYAxisIndexByName(LPCTSTR Value);
00149 BOOL GetUserCanEditObjects();
00150 void SetUserCanEditObjects(BOOL bNewValue);
00151 void Print();
00152 void CopyToClipBoard();
00153 void Save();
00154 CPicture GetSnapShotPicture();
00155 void RepaintAll();
00156 void BeginUpdate();
00157 void EndUpdate();
00158 void Lock();
00159 void Unlock();
00160 void ClearAllData();
00161 void AddDataArray(double XValue, const VARIANT& Data);
00162 double GetNow();
00163 void SavePropertiesToFile(LPCTSTR FileName);
00164 void LoadPropertiesFromFile(LPCTSTR FileName);
00165 void SaveDataToFile(LPCTSTR FileName);
00166 void LoadDataFromFile(LPCTSTR FileName);
00167 CString GetLogFileName();
00168 void SetLogFileName(LPCTSTR lpszNewValue);
00169 long GetLogBufferSize();
00170 void SetLogBufferSize(long nNewValue);
00171 void LogActivate(BOOL Append);
00172 void LogDeactivate();
00173 BOOL GetLoggingActive();
00174 long GetComponentHandle();
00175 CiPlotChannelX GetChannel(long Index);
00176 };
00177
00178
00179
00180
00181 #endif // AFX_IPLOTX_H__70F41531_81D7_11D5_A84F_0050BA05DDC8__INCLUDED_
Erzeugt am Tue Mar 11 14:25:16 2008 für SchunkFPS von
1.3.7