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

📄 testzipdlgdlg.h

📁 一个不错的自制解压缩程序
💻 H
字号:
// TestZipDlgDlg.h : header file
///////////////////////////////////////////////////////////////
//   Copyright (C) 2000 Tadeusz Dracz
///////////////////////////////////////////////////////////////

#if !defined(AFX_TESTZIPDLGDLG_H__E46C0691_1EA6_4801_BD71_7C9615A0D1A7__INCLUDED_)
#define AFX_TESTZIPDLGDLG_H__E46C0691_1EA6_4801_BD71_7C9615A0D1A7__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTestZipDlgDlg dialog
#include "ListCtrlEnh.h"
#include "Options.h"	// Added by ClassView
#include "..\Zip\ZipArchive.h"
#include "ResizableDialog.h"
class CTestZipDlgDlg : public CResizableDialog
{
// Construction
public:
	CMenu m_menu;
	bool m_bCommentModified;
	static bool ChangeDisk(int iNumber, int iCode, void* pData);
	CTestZipDlgDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTestZipDlgDlg)
	enum { IDD = IDD_TESTZIPDLG_DIALOG };
	CListCtrlEnh	m_files;
	CString	m_szComment;
	//}}AFX_DATA

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

// Implementation
protected:
	void UpdateMenu(CMenu* pMenu);
	void AddFolder(CString szFolder);
	void DisplayLabel();
	void Redisplay();
	bool GetFileName(CString &szFile, bool bOpen);
	CZipArchive m_zip;
	COptions m_options;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestZipDlgDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnActionAddFiles();
	afx_msg void OnActionAddFoloder();
	afx_msg void OnActionDelete();
	afx_msg void OnActionExtract();
	afx_msg void OnArchiveClose();
	afx_msg void OnArchiveExit();
	afx_msg void OnArchiveNew();
	afx_msg void OnArchiveOpen();
	afx_msg void OnArchiveOptions();
	afx_msg void OnHelpAbout();
	afx_msg void OnUpdateActionAdd(CCmdUI* pCmdUI);
	afx_msg void OnUpdateActionDelete(CCmdUI* pCmdUI);
	afx_msg void OnUpdateActionExtract(CCmdUI* pCmdUI);
	afx_msg void OnUpdateArchiveClose(CCmdUI* pCmdUI);
	afx_msg void OnChangeEdit1();
	afx_msg void OnDblclkContents(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnInitMenu(CMenu* pMenu);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTZIPDLGDLG_H__E46C0691_1EA6_4801_BD71_7C9615A0D1A7__INCLUDED_)

⌨️ 快捷键说明

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