www.pudn.com > ChatSystem_src.zip > ChatView.h


#if !defined(AFX_CHATVIEW_H__E8E2AD34_509F_11D6_9693_AF0E159D6826__INCLUDED_) 
#define AFX_CHATVIEW_H__E8E2AD34_509F_11D6_9693_AF0E159D6826__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ChatView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CChatView form view 
 
#ifndef __AFXEXT_H__ 
#include  
#endif 
 
//#include "ChatClientDoc.h" 
#include "SendEditBox.h" 
 
#include "ChatClientDoc.h" 
 
class CChatView : public CFormView 
{ 
protected: 
	CChatView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CChatView) 
 
// Form Data 
public: 
	//{{AFX_DATA(CChatView) 
 
	CChatClientDoc* GetDocument(); 
 
	enum { IDD = IDD_CHATVIEW }; 
	CEdit	m_SendEditBox; 
	CRichEditCtrl	m_ChatEditBox; 
	BOOL bViewCreated; 
	//}}AFX_DATA 
 
// Attributes 
public: 
 
// Operations 
public: 
	void Message(LPCTSTR lpszMessage); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChatView) 
	public: 
	virtual void OnInitialUpdate(); 
	virtual void Serialize(CArchive& ar); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CChatView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CChatView) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnDestroy(); 
	afx_msg void OnKillfocusSendEditbox(); 
 
	afx_msg void OnEnKillFocus(UINT nID); 
 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CHATVIEW_H__E8E2AD34_509F_11D6_9693_AF0E159D6826__INCLUDED_)