Click here to Skip to main content
15,885,757 members
Articles / Multimedia / GDI

S.I.V.: A Simple Pie Chart with Legend

Rate me:
Please Sign up or sign in to vote.
2.43/5 (4 votes)
3 Aug 20045 min read 48.2K   1.9K   18  
Simplicity Is Virtue : how do draw a simple pie chart almost anywhere
// sdi.h : main header file for the SDI application
//

#if !defined(AFX_SDI_H__F9F20B49_F566_4358_ACF7_11620D9DBEF7__INCLUDED_)
#define AFX_SDI_H__F9F20B49_F566_4358_ACF7_11620D9DBEF7__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CSdiApp:
// See sdi.cpp for the implementation of this class
//

class CSdiApp : public CWinApp
{
public:
	CSdiApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSdiApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CSdiApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SDI_H__F9F20B49_F566_4358_ACF7_11620D9DBEF7__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.


Written By
Web Developer
Croatia Croatia
A software developer for the masses..

Comments and Discussions