// MessagesView.h : interface of the CMessagesView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MessagesView_H__EC4F244B_670F_4711_AC0C_C90515A04FD5__INCLUDED_) #define AFX_MessagesView_H__EC4F244B_670F_4711_AC0C_C90515A04FD5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CMessagesView : public CListView { protected: // create from serialization only CMessagesView(); DECLARE_DYNCREATE(CMessagesView) // Attributes public: CDocumentHelper* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMessagesView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnInitialUpdate(); // called first time after construct virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); //}}AFX_VIRTUAL // Implementation public: virtual ~CMessagesView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CMessagesView) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct); DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in MessagesView.cpp inline CDocumentHelper* CMessagesView::GetDocument() { return (CDocumentHelper*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MessagesView_H__EC4F244B_670F_4711_AC0C_C90515A04FD5__INCLUDED_)