// sendvw.h : header file // // 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 CSendView : public CEditView { protected: CSendView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CSendView) // Attributes public: BOOL m_bSendRandomMessages; UINT m_TimerID; CChatDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSendView) public: virtual BOOL DestroyWindow(); protected: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation protected: virtual ~CSendView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(CSendView) afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnAutochatter(); afx_msg void OnUpdateAutochatter(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in sendvw.cpp inline CChatDoc* CSendView::GetDocument() { return (CChatDoc*)m_pDocument; } #endif /////////////////////////////////////////////////////////////////////////////