www.pudn.com > CraftFTP_gb.rar > ConfirmDialog.h
#if !defined(AFX_CONFIRMDIALOG_H__73507C6F_2283_441B_B58F_BD00E320F0A2__INCLUDED_)
#define AFX_CONFIRMDIALOG_H__73507C6F_2283_441B_B58F_BD00E320F0A2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfirmDialog.h : header file
//
#include "DialogEx.h"
#define CDialog CDialogEx
/////////////////////////////////////////////////////////////////////////////
// CConfirmDialog dialog
class CConfirmDialog : public CDialog
{
// Construction
public:
CConfirmDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CConfirmDialog)
enum { IDD = IDD_DIALOG_TRANSFER };
CString m_szLocalFileName;
CString m_szLocalFileSize;
CString m_szLocalDateTime;
CString m_szRemoteDateTime;
CString m_szRemoteFileName;
CString m_szRemoteFileSize;
BOOL m_bAllAction;
//}}AFX_DATA
public:
DWORD m_dwLocalFileSize;
DWORD m_dwRemoteFileSize;
BOOL m_bResume; //是否支持断点续传
int m_nOperator; // 0=跳过, 1=覆盖, 2=续传, 3=更名
private:
CWnd * m_pDefaultCtr;
CString m_szTitle;
int m_nCount;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConfirmDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
static const DWORD m_nHelpIDs[];
virtual const DWORD* GetHelpIDs() {return m_nHelpIDs;}
// Generated message map functions
//{{AFX_MSG(CConfirmDialog)
virtual BOOL OnInitDialog();
afx_msg void OnButtonOverwrite();
afx_msg void OnButtonResume();
afx_msg void OnButtonRename();
afx_msg void OnButtonSkip();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnCancel();
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_CONFIRMDIALOG_H__73507C6F_2283_441B_B58F_BD00E320F0A2__INCLUDED_)