// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CNTGraph wrapper class
class CNTGraph : public CWnd
{
protected:
DECLARE_DYNCREATE(CNTGraph)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x14f24365, 0x6c9d, 0x419e, { 0x89, 0x94, 0xe7, 0xc9, 0x17, 0x9c, 0xa3, 0x4f } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetAppearance();
void SetAppearance(short);
OLE_COLOR GetBackColor();
void SetBackColor(OLE_COLOR);
short GetBorderStyle();
void SetBorderStyle(short);
BOOL GetEnabled();
void SetEnabled(BOOL);
CString GetCaption();
void SetCaption(LPCTSTR);
BOOL GetShowGrid();
void SetShowGrid(BOOL);
BOOL GetChangeMappingMode();
void SetChangeMappingMode(BOOL);
CString GetXLabel();
void SetXLabel(LPCTSTR);
CString GetYLabel();
void SetYLabel(LPCTSTR);
unsigned long GetGridColor();
void SetGridColor(unsigned long);
unsigned long GetLabelColor();
void SetLabelColor(unsigned long);
unsigned long GetAxisColor();
void SetAxisColor(unsigned long);
short GetNGridX();
void SetNGridX(short);
short GetNGridY();
void SetNGridY(short);
double GetMinX();
void SetMinX(double);
double GetMaxX();
void SetMaxX(double);
double GetMinY();
void SetMinY(double);
double GetMaxY();
void SetMaxY(double);
unsigned long GetPlotColor();
void SetPlotColor(unsigned long);
short GetElement();
void SetElement(short);
short GetElementCount();
void SetElementCount(short);
BOOL GetShowCursor();
void SetShowCursor(BOOL);
CString GetGraphTitle();
void SetGraphTitle(LPCTSTR);
unsigned long GetCursorColor();
void SetCursorColor(unsigned long);
// Operations
public:
void ClearGraph();
BOOL CreateElement(long nElement);
BOOL SetRange(double MinX, double MaxX, double MinY, double MaxY);
BOOL SetXYValue(double x, double y, long index, short iElementId);
void AboutBox();
};