PageNet.h
资源名称:Netmanag.zip [点击查看]
上传用户:geanq888
上传日期:2007-01-03
资源大小:316k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- #if !defined(AFX_PAGENET_H__E60D4646_763C_11D1_82BF_444553540000__INCLUDED_)
- #define AFX_PAGENET_H__E60D4646_763C_11D1_82BF_444553540000__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // PageNet.h : header file
- //
- #include "PageNetList.h"
- /////////////////////////////////////////////////////////////////////////////
- // CPageNet dialog
- class CPageNet : public CPropertyPage
- {
- DECLARE_DYNCREATE(CPageNet)
- // Construction
- public:
- CPageNet();
- ~CPageNet();
- // Dialog Data
- //{{AFX_DATA(CPageNet)
- enum { IDD = IDD_PAGE_NET };
- CEdit m_StatusLine;
- CSpinButtonCtrl m_NetSpin;
- CButton m_Every;
- CEdit m_URL;
- CEdit m_Name;
- CString m_sURL;
- CString m_sName;
- int m_nNetMinutes;
- BOOL m_bOnEnd;
- BOOL m_bOnStart;
- //}}AFX_DATA
- CToolTipCtrl m_ToolTip;
- CPageNetList m_List;
- struct NETITEM
- {
- CString sName;
- CString sUrl;
- CString sLastModified;
- };
- CArray<NETITEM, NETITEM&> m_aNetItems;
- /*
- CStringArray* m_psArrayNet;
- CStringArray* m_psArrayNetLastModified;
- */
- void Add();
- bool Check(int, CString&);
- bool CheckAll(CString&);
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CPageNet)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- virtual void Serialize(CArchive& ar);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- //protected:
- public:
- // Generated message map functions
- //{{AFX_MSG(CPageNet)
- virtual BOOL OnInitDialog();
- afx_msg void OnSelChangeList();
- afx_msg void OnDblclkList();
- afx_msg void OnCheckAll();
- afx_msg void OnRemove();
- afx_msg void OnKillfocusMinutes2();
- afx_msg void OnEvery2();
- afx_msg void OnEdit();
- afx_msg void OnSetfocusUrl();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PAGENET_H__E60D4646_763C_11D1_82BF_444553540000__INCLUDED_)