TransmitFileDlg.h
资源名称:FTP总集.rar [点击查看]
上传用户:tjfeida
上传日期:2013-03-10
资源大小:1917k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- #if !defined(AFX_TRANSMITFILEDLG_H__C4BBA270_670A_4281_AE7D_C1559BB21197__INCLUDED_)
- #define AFX_TRANSMITFILEDLG_H__C4BBA270_670A_4281_AE7D_C1559BB21197__INCLUDED_
- /*********************************************
- **该文件是属于WolfFTP工程中的。如果有什么问题
- **请联系
- ** tablejiang@21cn.com
- **或者访问
- ** http://wolfftp.51.net
- **以得到最新的支持。
- *********************************************/
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // TransmitFileDlg.h : header file
- //
- #include "JobListCtrl.h"
- #include "share.h"
- #include "FileQueue.h"
- #include "FtpTransmitFile.h"
- #include "Resource.h"
- #include "ProgressStatusCtrl.h"
- /////////////////////////////////////////////////////////////////////////////
- // CTransmitFileDlg dialog
- class CTransmitFileDlg : public CDialog
- {
- // Construction
- public:
- BOOL StartTransmitFile( );
- CTransmitFileDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CTransmitFileDlg)
- enum { IDD = IDD_DIALOG_MULTI };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTransmitFileDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CTransmitFileDlg)
- virtual void OnOK();
- virtual void OnCancel();
- virtual BOOL OnInitDialog();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnClose();
- afx_msg void OnDestroy();
- afx_msg void OnBackRun();
- afx_msg void OnBackStop();
- afx_msg void OnBackSelall();
- afx_msg void OnBackStopall();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- protected :
- BOOL InitList( );
- CFileQueue m_FileQueue ;
- CProgressStatusCtrl m_Bar ;
- public :
- BOOL StopAllTransmitTask( );
- BOOL SetSelectItemStatus( int iState );
- BOOL DeleteSelectItem( );
- BOOL AddToBkQueue( FTPFILEINFO* pFileInfo );
- BOOL RefreshJobList( );
- CFtpTransmitFile m_Transmit ;
- CJobListCtrl m_ListCtrl ;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TRANSMITFILEDLG_H__C4BBA270_670A_4281_AE7D_C1559BB21197__INCLUDED_)