Click here to Skip to main content
15,892,517 members
Articles / Desktop Programming / MFC

Bar Graph Control

Rate me:
Please Sign up or sign in to vote.
3.63/5 (13 votes)
5 Feb 2007CPOL2 min read 72.9K   3.4K   45  
A useful bar graph control, derived from CStatic.
#pragma once


// CMyStatic

class CMyStatic : public CStatic
{
	DECLARE_DYNAMIC(CMyStatic)

public:
	CMyStatic();
	virtual ~CMyStatic();

	COLORREF stColor;

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
};


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 Code Project Open License (CPOL)


Written By
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.

Comments and Discussions