www.pudn.com > tongyongkongjianlei.rar > ControlBoxDlg.h


// ControlBoxDlg.h : header file 
// 
 
#if !defined(AFX_CONTROLBOXDLG_H__704A93D8_ADD9_4B1D_85D6_1B4B78BBFA00__INCLUDED_) 
#define AFX_CONTROLBOXDLG_H__704A93D8_ADD9_4B1D_85D6_1B4B78BBFA00__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CControlBoxDlg dialog 
 
class CControlBoxDlg : public CDialog 
{ 
// Construction 
public: 
	CControlBoxDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CControlBoxDlg) 
	enum { IDD = IDD_CONTROLBOX_DIALOG }; 
	CListCtrl	m_list; 
	CTreeCtrl	m_tree; 
	CDateTimeCtrl	m_Time; 
	CComboBox	m_Grade; 
	CSliderCtrl	m_Slider; 
	CIPAddressCtrl	m_Ip; 
	CSpinButtonCtrl	m_spin; 
	CString	m_Name; 
	int		m_Sex; 
	BOOL	m_Net1; 
	BOOL	m_Net2; 
	BOOL	m_Net3; 
	BOOL	m_Net4; 
	BOOL	m_Net5; 
	int		m_NetAge; 
	//}}AFX_DATA 
	//"姓名","性别","年级","年龄","网龄","IP","爱好","填表日期" 
	CString GName[100],GSex[100],GGrade[100],GAge[100],GNetAge[100],GIp[100],GHobby[100],GDate[100];//全局变量,存贮记录,最多为100 
	int RecordNum;//实际记录的数目 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CControlBoxDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CControlBoxDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnSubmit(); 
	afx_msg void OnReset(); 
	afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONTROLBOXDLG_H__704A93D8_ADD9_4B1D_85D6_1B4B78BBFA00__INCLUDED_)