?? shapesview.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 + -