ProgressDemoView.h
上传用户:xp758258
上传日期:2007-01-02
资源大小:40k
文件大小:2k
源码类别:

状态条

开发平台:

Visual C++

  1. // ProgressDemoView.h : interface of the CProgressDemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_PROGRESSDEMOVIEW_H__DA78950C_5B4D_11D1_ABBA_00A0243D1382__INCLUDED_)
  5. #define AFX_PROGRESSDEMOVIEW_H__DA78950C_5B4D_11D1_ABBA_00A0243D1382__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CProgressDemoView : public CView
  10. {
  11. protected: // create from serialization only
  12. CProgressDemoView();
  13. DECLARE_DYNCREATE(CProgressDemoView)
  14. // Attributes
  15. public:
  16. CProgressDemoDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CProgressDemoView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CProgressDemoView();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CProgressDemoView)
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. #ifndef _DEBUG  // debug version in ProgressDemoView.cpp
  42. inline CProgressDemoDoc* CProgressDemoView::GetDocument()
  43.    { return (CProgressDemoDoc*)m_pDocument; }
  44. #endif
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_PROGRESSDEMOVIEW_H__DA78950C_5B4D_11D1_ABBA_00A0243D1382__INCLUDED_)