Click here to Skip to main content
12,353,602 members (65,862 online)
Click here to Skip to main content

Stats

1.5M views
57.5K downloads
328 bookmarked
Posted

2D Graph ActiveX Control

, 5 Aug 2003 MIT
An ActiveX control for 2D data visualisation
NTGraph_demo
NTGraph
Debug
Demo
Debug
res
Test.ico
Test.aps
Test.clw
Test.dsp
Test.plg
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGraph.ico
NTGraph.ncb
NTGraph.odl
NTGraph.opt
NTGraph.plg
NTGraphCtl.bmp
Test.exe
NTGraph.ocx
NTGraph.lib
NTGraph.exp
NTGRAPH.HLP
NTGraph.ocx
NTGraph.ocx
NTGraph.ocx
NTGraph.ocx
NTGraph_Ctrl
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGraph.ico
NTGraph.ncb
NTGraph.odl
NTGraph.opt
NTGraph.plg
NTGraphCtl.bmp
Release
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGraph.ico
NTGraph.ncb
NTGraph.odl
NTGraph.opt
NTGraph.plg
NTGraphCtl.bmp
NTGraph_Ctrl2
Debug
MAGNIFY.CUR
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGraph.ico
NTGraph.ncb
NTGraph.odl
NTGraph.opt
NTGraph.plg
NTGraphCtl.bmp
Release
Test.dsm
NTGraph_Ctrl3
Debug
hmove.cur
MAGNIFY.CUR
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGraph.ico
NTGraph.odl
NTGraph.opt
NTGraph.plg
NTGraphCtl.bmp
Release
Test.dsm
Demo.ppt
Demo.xls
DlgDemo
Demo.aps
Demo.clw
Demo.dsp
Demo.dsw
Demo.exe
Demo.ncb
Demo.opt
Demo.plg
res
Demo.ico
MDIDemo
MDIDemo.aps
MDIDemo.clw
MDIDemo.dsp
MDIDemo.dsw
MDIDemo.exe
MDIDemo.ncb
MDIDemo.opt
MDIDemo.plg
res
MDIDemo.ico
MDIDemoDoc.ico
Toolbar.bmp
Debug
Demo.aps
Demo.clw
Demo.dsp
Demo.dsw
Demo.ncb
Demo.opt
Demo.plg
res
Demo.ico
NTGraph_demo2
Debug
Demo.aps
Demo.clw
Demo.dsp
Demo.dsw
Demo.ncb
Demo.opt
Demo.plg
res
Demo.ico
NTGraph_demo3
Debug
Demo.dsp
Demo.dsw
res
Demo.ico
test.pdf
NTGraph.ppt
NTGraph.ppt
NTGraph_src
Frame.bmp
Hlp
Bullet.bmp
NTGraph.hm
NTGraph.RTF
Margritte.bmp
Margritte.jpg
NTGraph.aps
NTGraph.clw
NTGraph.def
NTGraph.dsp
NTGraph.dsw
NTGRAPH.GID
NTGRAPH.HLP
NTGraph.hpj
NTGraph.ico
NTGraph.log
NTGraph.ncb
NTGraph.odl
NTGraph.opt
NTGraph.ph
NTGraph.plg
NTGraph.suo
NTGraphCtl.bmp
Release
Test.dsm
#if !defined(AFX_NTGRAPHPPG_H__EE963BF3_61C1_420C_AAAC_CF89712455CC__INCLUDED_)
#define AFX_NTGRAPHPPG_H__EE963BF3_61C1_420C_AAAC_CF89712455CC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// NTGraphPpg.h : Declaration of the CNTGraphPropPage property page class.
#include "ColourPicker.h"
////////////////////////////////////////////////////////////////////////////
// CNTGraphPropPage : See NTGraphPpg.cpp.cpp for implementation.

class CNTGraphPropPage : public COlePropertyPage
{
	DECLARE_DYNCREATE(CNTGraphPropPage)
	DECLARE_OLECREATE_EX(CNTGraphPropPage)

// Constructor
public:
	CNTGraphPropPage();

	BOOL OnHelp(LPCTSTR helpdir);

// Dialog Data
	//{{AFX_DATA(CNTGraphPropPage)
	enum { IDD = IDD_PROPPAGE_NTGRAPH };
	CButton	m_btnYLog;
	CButton	m_btnXLog;
	CButton	m_btnGrid;
	CComboBox	m_cbFrame;
	CComboBox	m_cbTrackMode;
	BOOL	m_bShowGrid;
	CString m_caption;
	BOOL    m_bXLog;
	BOOL    m_bYLog;
	COLORREF	m_FrameColor;
	CColourPicker	m_btnFrameColor;
	COLORREF	m_PlotColor;
	CColourPicker	m_btnPlotColor;
	COLORREF	m_GridColor;
	CColourPicker	m_btnGridColor;
	COLORREF	m_AxisColor;
	CColourPicker	m_btnAxisColor;
	COLORREF	m_LabelColor;
	CColourPicker	m_btnLabelColor;
	int	m_nFrame;
	int	m_nMode;
	//}}AFX_DATA

// Implementation
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	void UpdateControls();

// Message maps
protected:
	//{{AFX_MSG(CNTGraphPropPage)
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
	afx_msg LONG OnColorChange(UINT lParam, LONG wParam);
	afx_msg void OnChangeCaption();
	afx_msg void OnCheckShowgrid();
	afx_msg void OnCheckXlog();
	afx_msg void OnCheckYlog();
	afx_msg void OnCloseupComboFrame();
	afx_msg void OnCloseupComboMode();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NTGRAPHPPG_H__EE963BF3_61C1_420C_AAAC_CF89712455CC__INCLUDED)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

Nikolai Teofilov
Researcher
Germany Germany
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160621.1 | Last Updated 6 Aug 2003
Article Copyright 2002 by Nikolai Teofilov
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid