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

📄 fileview.h

📁 一个集成的文本阅读工具
💻 H
字号:
#if !defined(AFX_FILEVIEW_H__75BE841C_9911_4B66_BE03_6B9F13EFC1BC__INCLUDED_)
#define AFX_FILEVIEW_H__75BE841C_9911_4B66_BE03_6B9F13EFC1BC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileView.h : header file
//
#include "MyTreeCtrl.h"
#include "MyButton.h"

/////////////////////////////////////////////////////////////////////////////
// CFileView view

class CFileView : public CView
{
protected:
	CFileView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CFileView)

// Attributes
public:
	CMyTreeCtrl m_filetree;
	int FileNumbers;
	CMyButton m_btn,m_btn_opennotepad;
	CStringArray m_finishtxt;
	CComboBox m_combobox;

// Operations
public:
	void FillComboBox(void);
	CString CacuCurrentFilePath(void);
	bool checkstate(CString itemname);
	void initview();
	void SetTree(void);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CFileView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMarkOn();
	afx_msg void OnMarkOff();
	afx_msg void OnUpdateMarkOff(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMarkOn(CCmdUI* pCmdUI);
	afx_msg void OnDeletefile();
	afx_msg void OnNoteopen();
	afx_msg void OnRefreshme();
	afx_msg void OnNotepad();
	afx_msg void OnNewfile();
	afx_msg void OnCreatebewfolder();
	afx_msg void OnRemovepath();
	afx_msg void OnUpdateRemovepath(CCmdUI* pCmdUI);
	//}}AFX_MSG
	afx_msg void OnClick(void);
	afx_msg void OnClick2open(void);
	afx_msg void OnClick2sel(void);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_FILEVIEW_H__75BE841C_9911_4B66_BE03_6B9F13EFC1BC__INCLUDED_)

⌨️ 快捷键说明

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