⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex9_2view.h

📁 只是一些书籍上的小代码!!!希望站长允许上传
💻 H
字号:
// Ex9_2View.h : interface of the CEx9_2View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EX9_2VIEW_H__121D3D9C_2B32_4E7D_AEFD_E4C341788190__INCLUDED_)
#define AFX_EX9_2VIEW_H__121D3D9C_2B32_4E7D_AEFD_E4C341788190__INCLUDED_

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


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

// Attributes
public:
	CEx9_2Doc* GetDocument();

// Operations
public:

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

// Implementation
public:
	CPoint p;
	int m_flag;
	int m_red;
	int m_green;
	int m_blue;
	virtual ~CEx9_2View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CEx9_2View)
	afx_msg void OnUpdateIdcColorBlue(CCmdUI* pCmdUI);
	afx_msg void OnUpdateIdcColorGreen(CCmdUI* pCmdUI);
	afx_msg void OnUpdateIdcColorRed(CCmdUI* pCmdUI);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnIdcColorBlue();
	afx_msg void OnIdcColorGreen();
	afx_msg void OnIdcColorRed();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in Ex9_2View.cpp
inline CEx9_2Doc* CEx9_2View::GetDocument()
   { return (CEx9_2Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_EX9_2VIEW_H__121D3D9C_2B32_4E7D_AEFD_E4C341788190__INCLUDED_)

⌨️ 快捷键说明

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