⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 downloaddlg.h

📁 多线程下载工具可支持http,ftp,https多协议....vc编写
💻 H
字号:
// downloadDlg.h : header file
//

#if !defined(AFX_DOWNLOADDLG_H__4E810829_C300_49DC_91BB_18C7E72FC558__INCLUDED_)
#define AFX_DOWNLOADDLG_H__4E810829_C300_49DC_91BB_18C7E72FC558__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "HTTPDownload.h"
#include "FTPDownload.h"
#include "HTTPSDownload.h"

/////////////////////////////////////////////////////////////////////////////
// CDownloadDlg dialog

class CDownloadDlg : public CDialog
{
// Construction
public:
	int m_timer;
	CDownloadDlg(CWnd* pParent = NULL);	// standard constructor
	CHTTPDownload http;
	CFTPDownload  ftp;
	CHTTPSDownload https;
	CString m_strProt;
	int speed[3];
	int j;//速度纪录时的变量
	


// Dialog Data
	//{{AFX_DATA(CDownloadDlg)
	enum { IDD = IDD_DOWNLOAD_DIALOG };
	CSpinButtonCtrl	m_Spin;
	CString	m_strURL;
	CString	m_strSaveas;
	CString	m_strPass;
	CString	m_strUser;
	DWORD	m_size;
	DWORD	m_finished;
	DWORD   m_f;
	int		m_nParts;
	DWORD	m_speed;
	DWORD   m_s;
	int i;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDownloadDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDownloadDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonSaveas();
	afx_msg void OnButtonStart();
	afx_msg void OnButtonExit();
	afx_msg void OnButtonCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DOWNLOADDLG_H__4E810829_C300_49DC_91BB_18C7E72FC558__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -