bmpvivw.h
来自「讲mfc的书」· C头文件 代码 · 共 50 行
H
50 行
// bmpvivw.h : interface of the CBmpViewView class
//
/////////////////////////////////////////////////////////////////////////////
class CBmpViewView : public CScrollView
{
protected: // create from serialization only
CBmpViewView();
DECLARE_DYNCREATE(CBmpViewView)
// Attributes
public:
CBmpViewDoc* GetDocument();
// Operations
public:
// Implementation
public:
virtual ~CBmpViewView();
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC,CPrintInfo *pinfo);
virtual void OnInitialUpdate(void);
virtual void OnActivateView(BOOL act, CView *view, CView *dview);
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBmpViewView)
afx_msg void OnEditCopy();
//}}AFX_MSG
afx_msg LONG OnPalChange(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in bmpvivw.cpp
inline CBmpViewDoc* CBmpViewView::GetDocument()
{ return (CBmpViewDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?