📄 downieeedlg.h
字号:
// DownIEEEDlg.h : header file
//
#if !defined(AFX_DOWNPICDLG_H__774F4254_386E_4409_859E_1335633A264A__INCLUDED_)
#define AFX_DOWNPICDLG_H__774F4254_386E_4409_859E_1335633A264A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_USER_TRAY_NOTIFICATION (WM_USER+0x101)
/////////////////////////////////////////////////////////////////////////////
// CDownIEEEDlg dialog
int CALLBACK BrowseCtrlCallback(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
UINT DownIEEE(LPVOID pParam);
UINT AutoConnectIEEE(LPVOID pParam);
extern CEdit m_wURL;
extern void AppendText(CString s);
extern CWinThread *pAutoThreadHandel;
class CDownIEEEDlg : public CDialog
{
// Construction
public:
void AddTray();
void ValidateFileName(CString *pName);
int FindArticleTitlePos(int nStart, const char *sHTML);
int CheckValid(CString& sFN);
int FindNoCase(CString sSrc, CString s2Find1, CString s2Find2, int nStart);
CWnd* m_pParent;
int DownSecurity(CStdioFile * pUrilFile, char* pChar, BOOL bDispaly=FALSE);
CDownIEEEDlg(CWnd* pParent = NULL); // standard constructor
NOTIFYICONDATA nd;
CDownIEEEDlg* m_pMainDlg;
afx_msg BOOL OnButton2();
afx_msg void OnClose();
afx_msg void OnNotifyIcon(WPARAM wParam, LPARAM lParam);
// Dialog Data
//{{AFX_DATA(CDownIEEEDlg)
enum { IDD = IDD_DOWNPIC_DIALOG };
CButton m_wButtonStart;
CStatic m_wOut;
CEdit m_wSavePath;
CProgressCtrl m_wProgress;
CString m_sPath;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDownIEEEDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDownIEEEDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DOWNPICDLG_H__774F4254_386E_4409_859E_1335633A264A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -