SettingDlg.h
上传用户:sdxhgc
上传日期:2013-09-14
资源大小:388k
文件大小:2k
源码类别:

通讯编程

开发平台:

Visual C++

  1. #if !defined(AFX_SETTINGDLG_H__24DC7B5A_BCF1_4673_B2F0_AC3E5CA31B92__INCLUDED_)
  2. #define AFX_SETTINGDLG_H__24DC7B5A_BCF1_4673_B2F0_AC3E5CA31B92__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SettingDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSettingDlg dialog
  10. class CSettingDlg : public CDialog
  11. {
  12. // Construction
  13. protected:
  14. BOOL m_BEnabled;
  15. public:
  16. CSettingDlg(CWnd* pParent = NULL,int tabindex=0,BOOL Enabled=TRUE);   // standard constructor
  17. CTabCtrl m_tab;
  18. int         m_tabindex;
  19. void        ShowItem(void);
  20. // Dialog Data
  21. //{{AFX_DATA(CSettingDlg)
  22. enum { IDD = IDD_SETTINGDLG };
  23. CListBox m_list;
  24. CComboBox m_comb;
  25. BOOL m_bSaveToLog;
  26. CString m_iLogItemCount;
  27. CString m_iOffLineTime;
  28. CString m_iPollTime;
  29. CString m_iServerPort;
  30. BOOL m_bSysAutoPoll;
  31. BOOL m_bShowHead;
  32. BOOL m_bHexShow;
  33. CString m_szlist;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CSettingDlg)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CSettingDlg)
  45. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  46. afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
  47. afx_msg void OnCksavetolog();
  48. afx_msg void OnSelchangeCombo1();
  49. afx_msg void OnDeleteip();
  50. afx_msg void OnDblclkList1();
  51. virtual void OnOK();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_SETTINGDLG_H__24DC7B5A_BCF1_4673_B2F0_AC3E5CA31B92__INCLUDED_)