📄 drawformview.h
字号:
// DrawFormView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDrawFormView form view
class CDrawFormView : public CFormView
{
protected:
CDrawFormView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CDrawFormView)
// Form Data
public:
//{{AFX_DATA(CDrawFormView)
enum { IDD = IDD_FORMVIEW };
int m_nX;
int m_nY;
int m_nShape;
//}}AFX_DATA
// Attributes
public:
CDrawDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawFormView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CDrawFormView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CDrawFormView)
afx_msg void OnApply();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DrawFormView.cpp
inline CDrawDoc* CDrawFormView::GetDocument()
{ return (CDrawDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -