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

📄 filedemoview.h

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

#if !defined(AFX_FILEDEMOVIEW_H__ADD9110C_118D_11D1_B719_00C0A83735D8__INCLUDED_)
#define AFX_FILEDEMOVIEW_H__ADD9110C_118D_11D1_B719_00C0A83735D8__INCLUDED_

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

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

// Attributes
public:
	CFileDemoDoc* GetDocument();

// Operations
public:
	CStringArray m_Pathname;
	CStringArray m_Filename;

	void EmptyStringArrays( void );
	BOOL CopyFile( const char *, const char *, int nBuffersize = 5000 );

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFileDemoView)
	afx_msg void OnFileAddtolist();
	afx_msg void OnFileSavefilesinlist();
	afx_msg void OnFileEmptylist();
	afx_msg void OnFileCopyfirstfile();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in FileDemoView.cpp
inline CFileDemoDoc* CFileDemoView::GetDocument()
   { return (CFileDemoDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FILEDEMOVIEW_H__ADD9110C_118D_11D1_B719_00C0A83735D8__INCLUDED_)

⌨️ 快捷键说明

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