UseStatusView.h
上传用户:yafeite800
上传日期:2020-09-17
资源大小:36k
文件大小:2k
源码类别:

状态条

开发平台:

Visual C++

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