⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shapesview.h

📁 A Model-View-Controller Framework that integrates with the MFC Doc/View architecture.
💻 H
字号:
#pragma once

struct ShapesViewImpl;

class ShapesView : public SbjCore::Mvc::ControlledView
{
	typedef SbjCore::Mvc::ControlledView t_Base; 
	
protected: // create from serialization only
	ShapesView();
	DECLARE_DYNCREATE(ShapesView)

// Attributes
public:
	ShapesDoc* GetDocument() const;

// Operations
public:

// Overrides
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);

// Implementation
public:
	virtual ~ShapesView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnFilePrintPreview();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	DECLARE_MESSAGE_MAP()
private:
	struct ShapesViewImpl* const m_pImpl;
};

#ifndef _DEBUG  // debug version in ShapesView.cpp
inline ShapesDoc* ShapesView::GetDocument() const
   { return reinterpret_cast<ShapesDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -