home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 13
/
mediashare_13.zip
/
mediashare_13
/
ZIPPED
/
PROGRAM
/
WTJ9403.ZIP
/
OTEXT
/
OTEXTVW.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-01
|
1KB
|
50 lines
// otextvw.h : interface of the COTextView class
//
/////////////////////////////////////////////////////////////////////////////
class COTextView : public CEditView
{
protected: // create from serialization only
COTextView();
DECLARE_DYNCREATE(COTextView)
virtual BOOL PreCreateWindow( CREATESTRUCT& cs );
// Attributes
public:
COTextDoc* GetDocument();
// Operations
public:
// Implementation
public:
virtual ~COTextView();
virtual void OnDraw(CDC* pDC); // overridden to draw this view
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Printing support
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// Generated message map functions
protected:
//{{AFX_MSG(COTextView)
// 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()
};
#ifndef _DEBUG // debug version in otextvw.cpp
inline COTextDoc* COTextView::GetDocument()
{ return (COTextDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////