dbview.h
来自「MFC编程实例」· C头文件 代码 · 共 36 行
H
36 行
class CDBView : public CView
{
protected:
CDBView();
DECLARE_DYNCREATE(CDBView)
public:
CDBDoc* GetDocument();
//{{AFX_VIRTUAL(CDBView)
public:
virtual void OnDraw(CDC* pDC);
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
public:
virtual ~CDBView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
//{{AFX_MSG(CDBView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG
inline CDBDoc* CDBView::GetDocument()
{ return (CDBDoc*)m_pDocument; }
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?