www.pudn.com > symbian_sms_alarm.rar > ConfigMsgDlg.h


#if !defined(AFX_CONFIGMSGDLG_H__9618A89F_6031_43C0_91F6_0675CEB98947__INCLUDED_) 
#define AFX_CONFIGMSGDLG_H__9618A89F_6031_43C0_91F6_0675CEB98947__INCLUDED_ 
#include "MainFrm.h" 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ConfigMsgDlg.h : header file 
// 
#include "DialogHeader.h"	//For dialog header ctrl 
#include "IniFile.h" 
///////////////////////////////////////////////////////////////////////////// 
// CConfigMsgDlg dialog 
enum tagCONTROL{DEFAULT,USERDEFINE}; 
 
 
class CConfigMsgDlg : public CDialog 
{ 
// Construction 
public: 
	CConfigMsgDlg(CWnd* pParent = NULL);   // standard constructor 
	CView *m_pView; 
	_ConnectionPtr m_pConnection; 
	CString strId[100],strName[100]; 
	CDialogHeader m_HeaderCtrl; 
	tagCONTROL m_SysCon; 
 
// Dialog Data 
	//{{AFX_DATA(CConfigMsgDlg) 
	enum { IDD = IDD_CONFIG_MSG }; 
	CEdit	m_ctrlTelNum; 
	CComboBox	m_ctrlSelDate; 
	CButton	m_Default; 
	CButton	m_UserDefine; 
	CEdit	m_ctrlId; 
	CComboBox	m_ctrlName; 
	CComboBox	m_ctrlData; 
	CListCtrl	m_List; 
	CString	m_Data; 
	CString	m_Id; 
	CString	m_Name; 
	CString	m_numTel; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CConfigMsgDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void DataCString(CString strVal,int nPos); 
	void ReadIniFileVal(); 
	void DataCString(CString strVal); 
	void InsertComName(); 
	CString szId[50],szName[50],szDes[50],szNum[50]; 
	// Generated message map functions 
	//{{AFX_MSG(CConfigMsgDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnUserDefine(); 
	afx_msg void OnDefault(); 
	afx_msg void OnClose(); 
	afx_msg void OnSelchangeName(); 
	afx_msg void OnAddNewMsg(); 
	afx_msg void OnAddTime(); 
	afx_msg void OnDeleteTime(); 
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnEditMsg(); 
	afx_msg void OnDeleteMsg(); 
	virtual void OnOK(); 
	afx_msg void OnLoadMsg(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONFIGMSGDLG_H__9618A89F_6031_43C0_91F6_0675CEB98947__INCLUDED_)