home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
mfc
/
advanced
/
chatsrvr
/
srvrvw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-26
|
2KB
|
60 lines
// srvrvw.h : interface of the CServerView class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
class CServerView : public CEditView
{
protected: // create from serialization only
CServerView();
DECLARE_DYNCREATE(CServerView)
// Attributes
public:
CServerDoc* GetDocument();
// Operations
public:
void Message(LPCTSTR lpszMessage);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServerView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CServerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CServerView)
// 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 srvrvw.cpp
inline CServerDoc* CServerView::GetDocument()
{ return (CServerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////