ftpdDlg.h
上传用户:shengde
上传日期:2007-02-26
资源大小:117k
文件大小:2k
源码类别:

Ftp服务器

开发平台:

Visual C++

  1. // ftpdDlg.h : header file
  2. //
  3. #if !defined(AFX_FTPDDLG_H__B4EE760A_3B9B_454A_A1B2_7046B57C2CC3__INCLUDED_)
  4. #define AFX_FTPDDLG_H__B4EE760A_3B9B_454A_A1B2_7046B57C2CC3__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CFtpdDlg dialog
  10. class CFtpdDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. char userfile[256];
  15. char ipfile[256];
  16. char AppDir[256];
  17. CFtpdDlg(CWnd* pParent = NULL); // standard constructor
  18. BOOL m_b_autostart;
  19. // Dialog Data
  20. //{{AFX_DATA(CFtpdDlg)
  21. enum { IDD = IDD_FTPD_DIALOG };
  22. CTreeCtrl m_ftpdtree;
  23. CComboBox m_ip_combo_ctrl;
  24. CString m_ftpserver_name;
  25. UINT m_ftpd_port;
  26. CString m_rootdir;
  27. BOOL m_b_ipchk;
  28. BOOL m_b_ipchk_pasv;
  29. BOOL m_b_switch_pasv_ip;
  30. BOOL m_specify_data_port;
  31. UINT m_port_from;
  32. UINT m_port_to;
  33. BOOL m_b_auto_choose_ip;
  34. //}}AFX_DATA
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CFtpdDlg)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. HICON m_hIcon;
  43. // Generated message map functions
  44. //{{AFX_MSG(CFtpdDlg)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  47. afx_msg void OnPaint();
  48. afx_msg HCURSOR OnQueryDragIcon();
  49. afx_msg void OnLOAD();
  50. afx_msg void OnSAVE();
  51. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  52. afx_msg void OnLaunch();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_FTPDDLG_H__B4EE760A_3B9B_454A_A1B2_7046B57C2CC3__INCLUDED_)