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

📄 compressdemoview.h

📁 < VC++编程宝典> 编程必备,适合初学者!
💻 H
字号:
// CompressDemoView.h : interface of the CCompressDemoView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMPRESSDEMOVIEW_H__38EE050D_E1DD_11D1_B719_0080AD17AF01__INCLUDED_)
#define AFX_COMPRESSDEMOVIEW_H__38EE050D_E1DD_11D1_B719_0080AD17AF01__INCLUDED_

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

#include "CompressedFile.h"

class CCompressDemoView : public CView
{
protected: // create from serialization only
	CCompressDemoView();
	DECLARE_DYNCREATE(CCompressDemoView)

// Attributes
public:
	CCompressDemoDoc* GetDocument();

	void OnFileSaveAs( const char * );
	BOOL m_bLoaded;
	int m_nCompressionType;
	CCompressedFile *m_pFile;
	HGLOBAL hGlobal;
	unsigned char *m_cbDataBuffer;
	char m_szFilename[130];
	char m_szSaveLoad[130];
	char m_szCompression[100];
	BOOL m_bSuccess;
	DWORD m_dwUncompressedSize, m_dwCompressedSize;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCompressDemoView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCompressDemoView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CCompressDemoView)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in CompressDemoView.cpp
inline CCompressDemoDoc* CCompressDemoView::GetDocument()
   { return (CCompressDemoDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_COMPRESSDEMOVIEW_H__38EE050D_E1DD_11D1_B719_0080AD17AF01__INCLUDED_)

⌨️ 快捷键说明

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