home *** CD-ROM | disk | FTP | other *** search
- // StatusBarsView.h : interface of the CStatusBarsView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CStatusBarsView : public CView
- {
- protected: // create from serialization only
- CStatusBarsView();
- DECLARE_DYNCREATE(CStatusBarsView)
-
- // Attributes
- public:
- CStatusBarsDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CStatusBarsView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CStatusBarsView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
- COLORREF IDtoColorRef(int nID);
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CStatusBarsView)
- // 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 OnStandardColors(UINT nID);
- afx_msg void OnUpdateStandardColors(CCmdUI* pCmdUI);
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in StatusBarsView.cpp
- inline CStatusBarsDoc* CStatusBarsView::GetDocument()
- { return (CStatusBarsDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-