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

A 2D Graph Component With Zoom Capability

, 21 Dec 2004
A 2D graph component with zoom capability.
smartgraphdemo_src.zip
res
cur1.cur
cur2.cur
SmartGraphDemo.ico
SmartGraphDemo.manifest
SmartGraphDemoDoc.ico
Toolbar.bmp
smartgraph_dll_exe.zip
msvcr71.dll
Graph.dll
SmartGraphDemo.exe
smartgraph_src.zip
SmartGraph.bmp
_Graph.tlb
bitmap1.bmp
Graph.rgs
Graphps.def
smart_graph_dll_exe.zip
msvcr71.dll
SmartGraphDemo.exe
SmartGraph.dll
// SmartGraphDemoDoc.cpp : implementation of the CSmartGraphDemoDoc class
//

#include "stdafx.h"
#include "SmartGraphDemo.h"

#include "SmartGraphDemoDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CSmartGraphDemoDoc

IMPLEMENT_DYNCREATE(CSmartGraphDemoDoc, CDocument)

BEGIN_MESSAGE_MAP(CSmartGraphDemoDoc, CDocument)
END_MESSAGE_MAP()


// CSmartGraphDemoDoc construction/destruction

CSmartGraphDemoDoc::CSmartGraphDemoDoc()
{
	// TODO: add one-time construction code here

}

CSmartGraphDemoDoc::~CSmartGraphDemoDoc()
{
}

BOOL CSmartGraphDemoDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}




// CSmartGraphDemoDoc serialization

void CSmartGraphDemoDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}


// CSmartGraphDemoDoc diagnostics

#ifdef _DEBUG
void CSmartGraphDemoDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CSmartGraphDemoDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG


// CSmartGraphDemoDoc commands

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)

Share

About the Author

Hossein Khosravi
Software Developer (Senior) FarsiOCR.ir
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
I am an assistant Prof. at Shahrood University of Technology. I'm interested in Pattern Recognition (specially OCR), Neural Networks, Image Processing and Machine Vision. I'm a PROGRAMMER as well. I was born in Khezri, a city in Khorasan, the largest province of Iran. I took My BS. from Sharif University of technology in 2002 and MSc. and PhD. from Tarbiat Modarres University in 2006 and 2010 respectively.
Currently I'm working in Shahrood university as an assistant professor in Faculty of Electrical & Robotic Engineering.
 
Hossein Khosravi's Blog: Andisheh Online
 
Commercial Site: Farsi OCR Resources

| Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 22 Dec 2004
Article Copyright 2004 by Hossein Khosravi
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid