📄 downloadtooldlg.h
字号:
// DownloadToolDlg.h : header file
//
#if !defined(AFX_DOWNLOADTOOLDLG_H__F21FD58D_CAEE_402A_8651_E6718C158835__INCLUDED_)
#define AFX_DOWNLOADTOOLDLG_H__F21FD58D_CAEE_402A_8651_E6718C158835__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDownloadToolDlg dialog
class CDownloadToolDlg : public CDialog
{
// Construction
public:
CDownloadToolDlg(CWnd* pParent = NULL); // standard constructor
static CString m_strSelFileName;
static UINT DownloadThread(LPVOID);
static UINT IdleThread(LPVOID);
static int m_nBitPerSec;
static int m_nSelCOM;
static int m_nDataBits;
static int m_nFlowCtrl;
static int m_nParity;
static int m_nBlockSize;
static UINT m_nTimeOut;
// Dialog Data
//{{AFX_DATA(CDownloadToolDlg)
enum { IDD = IDD_DOWNLOADTOOL_DIALOG };
CProgressCtrl m_ProgressCtrl;
CEdit m_ctrlMsgEdit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDownloadToolDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDownloadToolDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOk();
afx_msg void OnSelect();
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnSetting();
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_DOWNLOADTOOLDLG_H__F21FD58D_CAEE_402A_8651_E6718C158835__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -