ex62View.h
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:2k
源码类别:
书籍源码
开发平台:
Visual C++
- // ex62View.h : interface of the CEx62View class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_EX62VIEW_H__3ED3D452_717F_4AC0_87BE_1EC1A83F1CC1__INCLUDED_)
- #define AFX_EX62VIEW_H__3ED3D452_717F_4AC0_87BE_1EC1A83F1CC1__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CEx62View : public CView
- {
- protected: // create from serialization only
- CEx62View();
- DECLARE_DYNCREATE(CEx62View)
- // Attributes
- public:
- CEx62Doc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEx62View)
- 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:
- BOOL m_bEnable;
- BOOL m_bPushed;
- int flag;
- virtual ~CEx62View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEx62View)
- afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
- afx_msg void OnEllipse();
- afx_msg void OnUpdateEllipse(CCmdUI* pCmdUI);
- afx_msg void OnRectangle();
- afx_msg void OnUpdateRectangle(CCmdUI* pCmdUI);
- afx_msg void OnText();
- afx_msg void OnPushed();
- afx_msg void OnEnable();
- afx_msg void OnUpdateText(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ex62View.cpp
- inline CEx62Doc* CEx62View::GetDocument()
- { return (CEx62Doc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EX62VIEW_H__3ED3D452_717F_4AC0_87BE_1EC1A83F1CC1__INCLUDED_)