?? codeprojectdlg.h
字號:
// CodeProjectDlg.h : header file
//
#if !defined(AFX_CODEPROJECTDLG_H__162C3025_EDFE_48F1_9A17_BCAAF22F770B__INCLUDED_)
#define AFX_CODEPROJECTDLG_H__162C3025_EDFE_48F1_9A17_BCAAF22F770B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCodeProjectDlg dialog
class CCodeProjectDlg : public CDialog
{
// Construction
public:
BOOL m_bWorking;
static UINT Download(LPVOID pParam);
//bool ConfirmDir(CString &strDir);
//bool SaveStr2File(CString &inStr, CString &strFileName);
//bool DownloadFile(CString &strURL, CString &strFileName);
//bool DownloadHtml(CString &strURL, CString &outStr);
CCodeProjectDlg(CWnd* pParent = NULL); // standard constructor
static CArray<CString, CString> m_aryDownloadItem; //待下載項
static CArray<CString, CString> m_aryDownloadItemName; //待下載項名
static CString m_strTargetDir; //目標文件夾
// Dialog Data
//{{AFX_DATA(CCodeProjectDlg)
enum { IDD = IDD_CODEPROJECT_DIALOG };
CButton m_btnOK;
CEdit m_editStatus;
CListCtrl m_list;
CEdit m_editTargetDir;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCodeProjectDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCodeProjectDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnButton1();
afx_msg void OnStnClickedStaticWeb();
//}}AFX_MSG
//用戶自定義消息映射
afx_msg LRESULT OnDownStatus(WPARAM, LPARAM);
afx_msg LRESULT OnDownComplete(WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
private:
static bool ExtractItem(CString &strContant, CString &strStart, CString &strCondition, CString &strCurDir, void *pAry);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CODEPROJECTDLG_H__162C3025_EDFE_48F1_9A17_BCAAF22F770B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -