/////////////////////////////////////////////////////////////////////////////// // Header /////////////////////////////////////////////////////////////////////////////// #if !defined(AFX_CLIENTVIEW_H__FF7E0E5F_0166_11D4_861F_00105A3E017B__INCLUDED_) #define AFX_CLIENTVIEW_H__FF7E0E5F_0166_11D4_861F_00105A3E017B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 /////////////////////////////////////////////////////////////////////////////// // View class /////////////////////////////////////////////////////////////////////////////// class CClientView : public CListView { protected: // create from serialization only CClientView(); DECLARE_DYNCREATE(CClientView) // Attributes public: CClientDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CClientView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); protected: virtual void OnInitialUpdate(); // called first time after construct //}}AFX_VIRTUAL // Implementation public: virtual ~CClientView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: afx_msg void OnUpdateList(); //{{AFX_MSG(CClientView) //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in ClientView.cpp inline CClientDoc* CClientView::GetDocument() { return (CClientDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CLIENTVIEW_H__FF7E0E5F_0166_11D4_861F_00105A3E017B__INCLUDED_)