ex6_2view.h

来自「This is Visual C++ basis operation. Usin」· C头文件 代码 · 共 75 行

H
75
字号
// Ex6_2View.h : interface of the CEx6_2View class
//
/////////////////////////////////////////////////////////////////////////////



#if !defined(AFX_EX6_2VIEW_H__B4E6D26D_914E_4921_A85F_8074743EDD43__INCLUDED_)
#define AFX_EX6_2VIEW_H__B4E6D26D_914E_4921_A85F_8074743EDD43__INCLUDED_

#include "Ex6_2Dlg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CEx6_2Dlg;

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

// Attributes
public:
	CEx6_2Doc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CEx6_2View)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	
	afx_msg LRESULT OnSendMsg(WPARAM wParam,LPARAM lParam);

	DECLARE_MESSAGE_MAP()
private:
	CEx6_2Dlg* m_pDlg;
};

#ifndef _DEBUG  // debug version in Ex6_2View.cpp
inline CEx6_2Doc* CEx6_2View::GetDocument()
   { return (CEx6_2Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_EX6_2VIEW_H__B4E6D26D_914E_4921_A85F_8074743EDD43__INCLUDED_)

⌨️ 快捷键说明

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