⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mirrorguidedlg.h

📁 VC—网络与通信
💻 H
字号:
// MirrorGuideDlg.h : header file
//
#include "DialogTimer.h"
#include "Queue.h"
#include "direct.h"
#define FILETYPE 0
#define DIRTYPE  1

#if !defined(AFX_MIRRORGUIDEDLG_H__DC57A3E4_19F5_11D4_8512_F74C2DA9AA93__INCLUDED_)
#define AFX_MIRRORGUIDEDLG_H__DC57A3E4_19F5_11D4_8512_F74C2DA9AA93__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMirrorGuideDlg dialog

class CMirrorGuideDlg : public CDialog
{
// Construction
public:
	FILE *pDirFile;
	FILE *pResultFile;
	CMirrorGuideDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMirrorGuideDlg)
	enum { IDD = IDD_MIRRORGUIDE_DIALOG };
	CSpinButtonCtrl	m_DayCtrl;
	CSpinButtonCtrl	m_MonthCtrl;
	CSpinButtonCtrl	m_YearCtrl;
	CString	m_SourceDir;
	int	m_day;
	int m_month;
	CString	m_year;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMirrorGuideDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMirrorGuideDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOk();
	virtual void OnCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitSourceDir ( CString &dir );
	int GetValue ( CString string );
	int autorun;
	BOOL CheckDir ( CString thisDir );
	CString GenerateFilename ( BOOL flag );
	COleDateTime MinimumTime;
	BOOL CheckFile( CString thisDir, WIN32_FIND_DATA FileState );
	WIN32_FIND_DATA FileState;
	Queue queue;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MIRRORGUIDEDLG_H__DC57A3E4_19F5_11D4_8512_F74C2DA9AA93__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -