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

📄 tname.h

📁 数据结构链表的演示程序
💻 H
字号:
#include <afxtempl.h>
#include "datastruct.h"

#if !defined(AFX_TNAME_H__F0EEF5C2_5A0E_11D2_95B6_00608C19C5C5__INCLUDED_)
#define AFX_TNAME_H__F0EEF5C2_5A0E_11D2_95B6_00608C19C5C5__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// tname.h : header file
//

struct Controls		// 对话框的控件结构
{
	CStatic m_ID;		// 序号控件
	CEdit m_Name;		// 名称控件
	CStatic m_Value;	// 色值控件
};

/////////////////////////////////////////////////////////////////////////////
// CTypeName dialog

class CTypeName : public CDialog		// 景观命名对话框
{
// Construction
public:
//	CTypeName(CWnd* pParent = NULL);   // standard constructor
	CTypeName(CWnd* pParent, CArray<RGBQUAD,RGBQUAD>& quads, 
		CArray<Types,Types>& blocks, BOOL evername,int minarea,BOOL savetip);
public:
	CArray<Types,Types> m_BlockTypes;	// 复制Doc类的成员
	BOOL m_bOren8;
	
private:
	int m_ControlsNum;
	CArray<RGBQUAD,RGBQUAD> m_Quads;	// 复制Doc类的成员
	CButton m_OK;
	CButton m_Cancel;
	CArray<Controls,Controls> m_Controls;	// 各行控件数组
	BOOL m_bEverName;

public:
// Dialog Data
	//{{AFX_DATA(CTypeName)
	enum { IDD = IDD_TYPENAME };
	int	m_MinArea;
	BOOL	m_bSaveTip;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTypeName)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTypeName)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	virtual void OnOK();
	afx_msg void OnRadio4();
	afx_msg void OnRadio8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TNAME_H__F0EEF5C2_5A0E_11D2_95B6_00608C19C5C5__INCLUDED_)

⌨️ 快捷键说明

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