Click here to Skip to main content
15,879,535 members
Articles / Desktop Programming / MFC

2D Graph ActiveX Control

Rate me:
Please Sign up or sign in to vote.
4.89/5 (159 votes)
5 Aug 2003MIT8 min read 1.5M   70.2K   339  
An ActiveX control for 2D data visualisation
========================================================================
		ActiveX Control DLL : NTGRAPH
========================================================================

ControlWizard has created this project for your NTGRAPH ActiveX Control
DLL, which contains 1 control.

This skeleton project not only demonstrates the basics of writing an
ActiveX Control, but is also a starting point for writing the specific
features of your control.

This file contains a summary of what you will find in each of the files
that make up your NTGRAPH ActiveX Control DLL.

NTGraph.dsp
    This file (the project file) contains information at the project level and
    is used to build a single project or subproject. Other users can share the
    project (.dsp) file, but they should export the makefiles locally.

NTGraph.h
	This is the main include file for the ActiveX Control DLL.  It
	includes other project-specific includes such as resource.h.

NTGraph.cpp
	This is the main source file that contains code for DLL initialization,
	termination and other bookkeeping.

NTGraph.rc
	This is a listing of the Microsoft Windows resources that the project
	uses.  This file can be directly edited with the Visual C++ resource
	editor.

NTGraph.def
	This file contains information about the ActiveX Control DLL that
	must be provided to run with Microsoft Windows.

NTGraph.clw
	This file contains information used by ClassWizard to edit existing
	classes or add new classes.  ClassWizard also uses this file to store
	information needed to generate and edit message maps and dialog data
	maps and to generate prototype member functions.

NTGraph.odl
	This file contains the Object Description Language source code for the
	type library of your control.

/////////////////////////////////////////////////////////////////////////////
NTGraph control:

NTGraphCtl.h
	This file contains the declaration of the CNTGraphCtrl C++ class.

NTGraphCtl.cpp
	This file contains the implementation of the CNTGraphCtrl C++ class.

NTGraphPpg.h
	This file contains the declaration of the CNTGraphPropPage C++ class.

NTGraphPpg.cpp
	This file contains the implementation of the CNTGraphPropPage C++ class.

NTGraphCtl.bmp
	This file contains a bitmap that a container will use to represent the
	CNTGraphCtrl control when it appears on a tool palette.  This bitmap
	is included by the main resource file NTGraph.rc.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

stdafx.h, stdafx.cpp
	These files are used to build a precompiled header (PCH) file
	named stdafx.pch and a precompiled types (PCT) file named stdafx.obj.

resource.h
	This is the standard header file, which defines new resource IDs.
	The Visual C++ resource editor reads and updates this file.

/////////////////////////////////////////////////////////////////////////////
Other notes:

ControlWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

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


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 MIT License


Written By
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions