general_controlview.h

来自「掌握Visual C++编程,挺基础的」· C头文件 代码 · 共 64 行

H
64
字号
// General_ControlView.h : interface of the CGeneral_ControlView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_GENERAL_CONTROLVIEW_H__2AD3A2ED_633F_11D5_A9E1_0000210013F9__INCLUDED_)
#define AFX_GENERAL_CONTROLVIEW_H__2AD3A2ED_633F_11D5_A9E1_0000210013F9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CGeneral_ControlView : public CView
{
protected: // create from serialization only
	CGeneral_ControlView();
	DECLARE_DYNCREATE(CGeneral_ControlView)

// Attributes
public:
	CGeneral_ControlDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGeneral_ControlView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGeneral_ControlView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CGeneral_ControlView)
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in General_ControlView.cpp
inline CGeneral_ControlDoc* CGeneral_ControlView::GetDocument()
   { return (CGeneral_ControlDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GENERAL_CONTROLVIEW_H__2AD3A2ED_633F_11D5_A9E1_0000210013F9__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?