drawview.h
来自「Visual C++应用教程-源代码 本书在复习C++基础知识后」· C头文件 代码 · 共 55 行
H
55 行
#if !defined(AFX_DRAWVIEW_H__DBE188DD_78B7_4DEE_BB7F_E36039B40A80__INCLUDED_)
#define AFX_DRAWVIEW_H__DBE188DD_78B7_4DEE_BB7F_E36039B40A80__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DrawView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDrawView view
class CDrawView : public CView
{
protected:
CDrawView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CDrawView)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CDrawView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CDrawView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DRAWVIEW_H__DBE188DD_78B7_4DEE_BB7F_E36039B40A80__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?