Click here to Skip to main content
15,881,588 members
Articles / Desktop Programming / MFC

A Library for Quick and Easy Development of Win32 Applications

Rate me:
Please Sign up or sign in to vote.
3.50/5 (9 votes)
5 Nov 20044 min read 66.1K   1.3K   31  
win32easy is a static library that makes win32 programing as easy as old good C-like programming with a "main" routine.
// MSOfficeChart.h: interface for the MSOfficeChart class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MSOFFICECHART_H__0ECEA792_DC80_46C1_91E0_A36DA1DA3108__INCLUDED_)
#define AFX_MSOFFICECHART_H__0ECEA792_DC80_46C1_91E0_A36DA1DA3108__INCLUDED_

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

#include "OleControl.h"
#include "automationob.h"	// Added by ClassView

class MSOfficeChart : public OleControl  
{
public:
	int AddSeries();
	int Sety(int SeriesIndex, double *pdy, int nPoints);
	MSOfficeChart(HWND hw);
	virtual ~MSOfficeChart();
	int Setx(int SeriesIndex, double *pdx, int nPoints);

private:
	int SetDataArray(int SeriesIndex, double *pdx, int nPoints, VARIANT dimension);
	AutomationOb m_SeriesCollection;
	struct msoConstants
	{
		VARIANT chDimYValues;
		VARIANT chDataLiteral;
		VARIANT chDimXValues;
		VARIANT chChartTypeScatterSmoothLine;
	} m_const;
};

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


Written By
Team Leader University of Washington
United States United States
I was born in Moscow, USSR. In 1998, I earned Master’s degree in Chemistry from the Moscow State University. In 2000, I moved to Germany to pursue a PhD degree in Genetics. Currently I live with my family in the United States.
I have been always involved is a multidisciplinary research side-by-side with biologists. The research involves physical chemistry, bioinformatics and electrical engineering.

Comments and Discussions