📄 mgetpicdlg.h
字号:
// mgetpicDlg.h : header file
//
#if !defined(AFX_MGETPICDLG_H__6C16C661_A4D0_46B9_ACD8_D14B2B2F370C__INCLUDED_)
#define AFX_MGETPICDLG_H__6C16C661_A4D0_46B9_ACD8_D14B2B2F370C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMgetpicDlg dialog
#include "TE_Socket.h"
#include "HttpDownload.h"
class CMgetpicDlg : public CDialog
{
protected:
CString m_sRunPath;
CHttpDownload down;
// Construction
public:
CMgetpicDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMgetpicDlg)
enum { IDD = IDD_MGETPIC_DIALOG };
CString m_sProxyIP;
int m_nProxyType;
int m_nProxyPort;
CString m_sHtmlPath;
CString m_sPicPath;
int m_nPage0;
int m_nPage1;
CString m_sUrl;
int m_nWildCardSize;
CString m_sMsg;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMgetpicDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL DownHtml(CString sUrl,CString sFile);
void ReadPara();
void ParseHtml(CString sPathFile,CStringArray &saImags);
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMgetpicDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDown();
afx_msg void OnClose();
afx_msg void OnSavePara();
afx_msg void OnHtmlSel();
afx_msg void OnPicSel();
afx_msg void OnDown2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MGETPICDLG_H__6C16C661_A4D0_46B9_ACD8_D14B2B2F370C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -