MainFrm.h
资源名称:FTP总集.rar [点击查看]
上传用户:tjfeida
上传日期:2013-03-10
资源大小:1917k
文件大小:4k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // MainFrm.h : interface of the CMainFrame class
- //
- /////////////////////////////////////////////////////////////////////////////
- /*********************************************
- **该文件是属于WolfFTP工程中的。如果有什么问题
- **请联系
- ** tablejiang@21cn.com
- **或者访问
- ** http://wolfftp.51.net
- **以得到最新的支持。
- *********************************************/
- #if !defined(AFX_MAINFRM_H__C5997A2F_A118_4563_ACE8_46F1A6BD81FA__INCLUDED_)
- #define AFX_MAINFRM_H__C5997A2F_A118_4563_ACE8_46F1A6BD81FA__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "MyListBoxView.h"
- #include "DirListView.h"
- #include "FtpDirView.h"
- #include "DownLoadFileView.h"
- #include "SetDlgInputSite.h"
- #include "SetDlgSelectSite.h"
- #include "TransmitFileDlg.h"
- #include "GeniusDlg.h"
- #include "ImageStatusBar.h"
- #include "InputFileNameDlg.h"
- struct VIEWINFO
- {
- CMyInfoView* pInfoView ;
- CDirListView* pDirListView ;
- CFtpDirView* pFtpDirView ;
- CDownloadFileView* pDownFileView ;
- } ;
- class CMainFrame : public CFrameWnd
- {
- protected: // create from serialization only
- CMainFrame();
- DECLARE_DYNCREATE(CMainFrame)
- // Attributes
- protected:
- CSplitterWnd m_wndSplitter;
- CSplitterWnd m_wndSplitter2 ;
- CSplitterWnd m_wndSplitter3 ;
- BOOL m_bCreateSplitter ;
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMainFrame)
- public:
- virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CMainFrame();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected: // control bar embedded members
- //CStatusBar m_wndStatusBar;
- CImageStatusBar m_wndStatusBar ;
- CToolBar m_wndToolBar;
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMainFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnFtpConnect();
- afx_msg void OnFtpSitemanage();
- afx_msg void OnFtpDisconnect();
- afx_msg void OnFtpReconnect();
- afx_msg void OnFtpSetting();
- afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnWindowTransmitdlg();
- afx_msg void OnClose();
- afx_msg void OnRemoteAbord();
- afx_msg void OnRemoteDelete();
- afx_msg void OnRemoteDownload();
- afx_msg void OnRemoteRefresh();
- afx_msg void OnRemoteUpload();
- afx_msg void OnLocalDelete();
- afx_msg void OnLocalDownload();
- afx_msg void OnLocalRefresh();
- afx_msg void OnLocalUpload();
- afx_msg void OnQueueRun();
- afx_msg void OnQueueStop();
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnRemoteEdit();
- afx_msg void OnAppAbout();
- afx_msg void OnRemoteMkdir();
- afx_msg void OnUpdateWindowTransmitdlg(CCmdUI* pCmdUI);
- afx_msg void OnBackRun();
- afx_msg void OnBackStop();
- afx_msg void OnBackSelall();
- afx_msg void OnBackStopall();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected:
- BOOL ConnectDefaultSite( );
- void GetCurExePath( char* szPath );
- BOOL LoadDefaultSite( );
- VIEWINFO m_ViewWndInfo ;
- SITEINFO m_CurSiteInfo ;
- public:
- BOOL SaveDefaultSite( );
- CFtpObject m_Ftp ;
- CTransmitFileDlg m_JobListDlg ;
- CGeniusDlg m_GeniusDlg ;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAINFRM_H__C5997A2F_A118_4563_ACE8_46F1A6BD81FA__INCLUDED_)