home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
windows
/
graphs
/
multicon.arj
/
ELLPSEVW.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-08
|
2KB
|
70 lines
//*************************************************************
// File name: ELLPSEVW.H
//
// Description:
// Declares the interface for the CEllipseView class
//
// History: Date Author Comment
// 3/7/94 FJB Created
//
// Written by Microsoft Product Support Services, Windows Developer Support
// Copyright (c) 1994 Microsoft Corporation. All rights reserved.
//*************************************************************
//*************************************************************
// Class:
// CEllipseView
//
// Description:
// AppWizard generated view class that draws an ellipse of random color
// and size.
//
// Derived from:
// CEllipseView
//
// Data Members:
// None
//
// Member Functions:
// CEllipseView : Constructor
// ~CEllipseView : Destructor
// GetDocument : Returns a CMulticonDoc*
// OnDraw : Draws an ellipse
//
// Comments
// This class is derived from CModView, a CView derived class that
// exposes a public OnDraw override.
//
// History: Date Author Comment
// 3/7/94 FJB Created
//
//*************************************************************
class CEllipseView : public CModView
{
DECLARE_DYNCREATE(CEllipseView)
protected:
CEllipseView(); // protected constructor used by dynamic creation
// Attributes
public:
CMulticonDoc* GetDocument() {return (CMulticonDoc*) m_pDocument;}
// Operations
public:
// Implementation
protected:
virtual ~CEllipseView();
virtual void OnDraw(CDC* pDC); // overridden to draw this view
// Generated message map functions
protected:
//{{AFX_MSG(CEllipseView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////