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

📄 huatudoc.h

📁 主要包含vc++下MFC环境下的对话框等编集的学生查询系统及相关的画图计算程序
💻 H
字号:
// huatuDoc.h : interface of the CHuatuDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_HUATUDOC_H__228F2107_04E2_46C5_9F97_685734193D5B__INCLUDED_)
#define AFX_HUATUDOC_H__228F2107_04E2_46C5_9F97_685734193D5B__INCLUDED_
#include "Huatu.h"
#include "HuatuDoc.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
struct SRect
{CPoint pointfrom;
 CPoint pointto;
 UINT udrawtype;
};

class CHuatuDoc : public CDocument
{
protected: // create from serialization only
	CHuatuDoc();
	DECLARE_DYNCREATE(CHuatuDoc)

// Attributes
public:
	SRect m_srectangles[100];

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHuatuDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	bool m_blbuttondown;
	UINT m_udrawtype;
	int m_nrectindex;
	virtual ~CHuatuDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHuatuDoc)
	afx_msg void OnDraw();
	afx_msg void OnDrawLine();
	afx_msg void OnDrawCircle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_HUATUDOC_H__228F2107_04E2_46C5_9F97_685734193D5B__INCLUDED_)

⌨️ 快捷键说明

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