“数据记录框设计”。编写一个列表框应用程序

源代码在线查看: text 04dlg.h

软件大小: 31 K
上传用户: huajunun
关键词: 数据记录 应用程序 编写
下载地址: 免注册下载 普通下载 VIP

相关代码

				// text 04Dlg.h : header file
				//
				
				#if !defined(AFX_TEXT04DLG_H__763BC464_6106_432D_B34F_96F5E177CE2A__INCLUDED_)
				#define AFX_TEXT04DLG_H__763BC464_6106_432D_B34F_96F5E177CE2A__INCLUDED_
				
				#if _MSC_VER > 1000
				#pragma once
				#endif // _MSC_VER > 1000
				
				/////////////////////////////////////////////////////////////////////////////
				// CText04Dlg dialog
				struct DATA
				{
					CString Tel;
					CString Sex;
					CString Age;
					CString Unit;
					CString Addr;
					CString Postc;
				};
				class CText04Dlg : public CDialog
				{
				// Construction
				public:
					CText04Dlg(CWnd* pParent = NULL);	// standard constructor
				
				// Dialog Data
					//{{AFX_DATA(CText04Dlg)
					enum { IDD = IDD_TEXT04_DIALOG };
					CListBox	m_List;
					CString	m_Addr;
					CString	m_Age;
					CString	m_Name;
					CString	m_Postc;
					CString	m_Sex;
					CString	m_Unit;
					CString	m_Tel;
					//}}AFX_DATA
				
					// ClassWizard generated virtual function overrides
					//{{AFX_VIRTUAL(CText04Dlg)
					protected:
					virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
					//}}AFX_VIRTUAL
				
				// Implementation
				protected:
					HICON m_hIcon;
				
					// Generated message map functions
					//{{AFX_MSG(CText04Dlg)
					virtual BOOL OnInitDialog();
					afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
					afx_msg void OnPaint();
					afx_msg HCURSOR OnQueryDragIcon();
					afx_msg void OnButton1();
					afx_msg void OnButton2();
					afx_msg void OnButton3();
					afx_msg void OnSelchangeList1();
					afx_msg void OnDestroy();
					//}}AFX_MSG
					DECLARE_MESSAGE_MAP()
				};
				
				//{{AFX_INSERT_LOCATION}}
				// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
				
				#endif // !defined(AFX_TEXT04DLG_H__763BC464_6106_432D_B34F_96F5E177CE2A__INCLUDED_)
							

相关资源