AmazeView.h
资源名称:Amaze.rar [点击查看]
上传用户:jygk2008
上传日期:2007-04-06
资源大小:18k
文件大小:2k
源码类别:
系统/网络安全
开发平台:
Visual C++
- // AmazeView.h : interface of the CAmazeView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_)
- #define AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define SEPARATE 6
- class CAmazeView : public CScrollView
- {
- protected: // create from serialization only
- CAmazeView();
- DECLARE_DYNCREATE(CAmazeView)
- // Attributes
- public:
- CAmazeDoc* GetDocument();
- // Operations
- public:
- void ResetScrollbar();
- bool m_bDis;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAmazeView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CAmazeView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CAmazeView)
- afx_msg void OnNew();
- afx_msg void OnDis();
- afx_msg void OnUpdateDis(CCmdUI* pCmdUI);
- afx_msg void OnWidth();
- afx_msg void OnHeight();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in AmazeView.cpp
- inline CAmazeDoc* CAmazeView::GetDocument()
- { return (CAmazeDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_)