MyStatusBarView.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:2k
- // MyStatusBarView.h : interface of the CMyStatusBarView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MYSTATUSBARVIEW_H__F302EEF0_A350_4F5E_A3F5_F93C7B93ACB7__INCLUDED_)
- #define AFX_MYSTATUSBARVIEW_H__F302EEF0_A350_4F5E_A3F5_F93C7B93ACB7__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CMyStatusBarView : public CView
- {
- protected: // create from serialization only
- CMyStatusBarView();
- DECLARE_DYNCREATE(CMyStatusBarView)
- // Attributes
- public:
- CMyStatusBarDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyStatusBarView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void test();
- virtual ~CMyStatusBarView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyStatusBarView)
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in MyStatusBarView.cpp
- inline CMyStatusBarDoc* CMyStatusBarView::GetDocument()
- { return (CMyStatusBarDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYSTATUSBARVIEW_H__F302EEF0_A350_4F5E_A3F5_F93C7B93ACB7__INCLUDED_)