downparampage.h

来自「模拟迅雷的下载工具软件」· C头文件 代码 · 共 70 行

H
70 行
字号
#if !defined(AFX_DOWNPARAMPAGE_H__8B60F721_51F7_11D9_95EE_00E04CB2B956__INCLUDED_)
#define AFX_DOWNPARAMPAGE_H__8B60F721_51F7_11D9_95EE_00E04CB2B956__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DownParamPage.h : header file
//作者:孟庆远

/////////////////////////////////////////////////////////////////////////////
// CDownParamPage dialog
#include "FileInfo.h"
#include "ButtonXP.h"

#define WM_DOWNPARAMSET WM_USER+110

typedef struct tagDOWN_PARAM{
	CString strPathName; //Path Name
	CWnd*   pMainWnd;   //Main Frame Win
	int     nAgainNumber; //Socket Link Number
	BOOL    bRename;      //auto rename file comment
}DOWN_PARAM;

class CDownParamPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CDownParamPage)

// Construction
public:
	CDownParamPage();
	CDownParamPage(void *lParam);
	~CDownParamPage();
public:
	DOWN_PARAM *m_stDownParam;

// Dialog Data
	//{{AFX_DATA(CDownParamPage)
	enum { IDD = IDD_PROPPAGE_MEDIUM };
	CButtonXP	m_buButton1;
	CEdit	m_eSavePath;
	int		m_eAgainNumber;
	BOOL	m_chbRename;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CDownParamPage)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CDownParamPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_DOWNPARAMPAGE_H__8B60F721_51F7_11D9_95EE_00E04CB2B956__INCLUDED_)

⌨️ 快捷键说明

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