dlgdownloadedit.h

来自「p2p软件」· C头文件 代码 · 共 70 行

H
70
字号
//
// DlgDownloadEdit.h
//
// Copyright (c) Shareaza Development Team, 2002-2004.
// This file is part of SHAREAZA (www.shareaza.com)
//
// Shareaza is free software; you can redistribute it
// and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// Shareaza is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Shareaza; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//

#pragma once

#include "DlgSkinDialog.h"
#include "afxwin.h"

class CDownload;


class CDownloadEditDlg : public CSkinDialog
{
// Construction
public:
	CDownloadEditDlg(CDownload* pDownload, CWnd* pParent = NULL);
	virtual ~CDownloadEditDlg();
	
	DECLARE_DYNAMIC(CDownloadEditDlg)
	enum { IDD = IDD_DOWNLOAD_EDIT };
	
// Attributes
public:
	CDownload*	m_pDownload;
	CString m_sName;
	CString m_sSHA1;
	CString m_sTiger;
	CString m_sED2K;
	CStatic m_wndForgetVerify;
	CStatic m_wndForgetSources;
	CString m_sEraseFrom;
	CString m_sEraseTo;
	CButton m_wndTorrent;
	CStatic m_wndCompleteVerify;

// Operations
public:
	BOOL	Commit();

// Implementation
protected:
	DECLARE_MESSAGE_MAP()
	virtual void DoDataExchange(CDataExchange* pDX);
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnTorrentInfo();
	afx_msg void OnErase();
	virtual void OnOK();
};

⌨️ 快捷键说明

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