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