16,547
社区成员




// 临时删除程序Dlg.h : 头文件
//
#if !defined(AFX_DELTEMPDLG_H__A872E546_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_)
#define AFX_DELTEMPDLG_H__A872E546_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
// C临时删除程序Dlg 对话框
class C临时删除程序Dlg : public CDialog
{
// 构造
public:
static CStringList& SearchFile(CString strFileName, CString strPath, CStringList &listFileName);
C临时删除程序Dlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_MY_DIALOG };
CComboBox m_listFileType;
CString m_strPath;
CString m_strStatus;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnButtonAdd();
afx_msg void OnButtonBrowse();
afx_msg void OnButtonClear();
afx_msg void OnButtonDel();
DECLARE_MESSAGE_MAP()
private:
void RefreshIni();
bool DelFile(const CStringList &listFileName);
};
#endif
// 临时删除程序.h : PROJECT_NAME 应用程序的主头文件
//
#if !defined(AFX_DELTEMP_H__A872E544_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_)
#define AFX_DELTEMP_H__A872E544_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// C临时删除程序App:
// 有关此类的实现,请参阅 临时删除程序.cpp
//
class C临时删除程序App : public CWinApp
{
public:
C临时删除程序App();
// 重写
public:
virtual BOOL InitInstance();
// 实现
DECLARE_MESSAGE_MAP()
};
extern C临时删除程序App theApp;
#endif // !defined(AFX_DELTEMP_H__A872E544_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_)
// 临时删除程序Dlg.h : 头文件
//
#if !defined(AFX_DELTEMPDLG_H__A872E546_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_)
#define AFX_DELTEMPDLG_H__A872E546_DF41_11D8_95FE_00D0F80AF7E1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif //这里应该加上#endif
// C临时删除程序Dlg 对话框
class C临时删除程序Dlg : public CDialog
{
// 构造
public:
static CStringList& SearchFile(CString strFileName, CString strPath, CStringList &listFileName);
C临时删除程序Dlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_MY_DIALOG };
CComboBox m_listFileType;
CString m_strPath;
CString m_strStatus;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg void OnButtonAdd();
afx_msg void OnButtonBrowse();
afx_msg void OnButtonClear();
afx_msg void OnButtonDel();
DECLARE_MESSAGE_MAP()
private:
void RefreshIni();
bool DelFile(const CStringList &listFileName);
};
#endif
#if _MSC_VER > 1000
#pragma once
#endif