Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Bar Graph Control

, 26 Jan 2004
Simple bar graph control class derived from CStatic
graphtest_bin.zip
graphtest_src.zip
GraphTest
GraphTest.clw
GraphTest.dsp
res
GraphTest.ico
GraphTest.dsw
// GraphTestDlg.h : header file
//

#if !defined(AFX_GRAPHTESTDLG_H__0924C1FF_BB99_4B6C_92B4_B53B24AC4837__INCLUDED_)
#define AFX_GRAPHTESTDLG_H__0924C1FF_BB99_4B6C_92B4_B53B24AC4837__INCLUDED_

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

#include "GraphCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CGraphTestDlg dialog

class CGraphTestDlg : public CDialog
{
// Construction
public:
	CGraphTestDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CGraphTestDlg)
	enum { IDD = IDD_GRAPHTEST_DIALOG };
	CGraphCtrl	m_Graph;
	int		m_Scale;
	BOOL	m_Simulate;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGraphTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGraphTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSelchangeScaleCombo();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCheckSimu();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GRAPHTESTDLG_H__0924C1FF_BB99_4B6C_92B4_B53B24AC4837__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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Shaibujan
Team Leader
India India
Mr. Shaibujan has got 9+ yrs of programming experience in C/C++, on various domains like Cryptography, Biometric Security, Network Security, Pattern Recognition, Image Processing, MPEG2, MPEG4, H.264, AAC etc.

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 27 Jan 2004
Article Copyright 2004 by Shaibujan
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid