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

📄 fileguardview.h

📁 文件加密的过滤驱动程序源代码.
💻 H
字号:
// FileGuardView.h : interface of the CFileGuardView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FILEGUARDVIEW_H__3DC691DA_9998_11D5_A1DA_00E006F27970__INCLUDED_)
#define AFX_FILEGUARDVIEW_H__3DC691DA_9998_11D5_A1DA_00E006F27970__INCLUDED_

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

#include "Resource.h"
#include "DirTreeCtrl.h"
#include "ProtFileListCtrl.h"
#include "IniFile.h"	// Added by ClassView
#include "..\HOOKSHR\KProtectedFileList.h"	// Added by ClassView

class CFileGuardView : public CFormView
{
//user:
public:

protected: // create from serialization only
	CFileGuardView();
	DECLARE_DYNCREATE(CFileGuardView)

public:
	//{{AFX_DATA(CFileGuardView)
	enum { IDD = IDD_FILEGUARD_FORM };
	CDirTreeCtrl	m_dirTree;
	CProtFileListCtrl	m_protFileListCtrl;
	BOOL	m_bFileHide;
	BOOL	m_bFileReadProt;
	BOOL	m_bFileWriteProt;
	BOOL	m_bFileDeleteProt;
	//}}AFX_DATA

// Attributes
public:
	CFileGuardDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileGuardView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	CToolTipCtrl m_toolTip;
	void ClearProtectionType();
	WORD GetCurProtectionType();
	void ShowProtectionType(PROTECTED_FILE *pProtFile);
	virtual ~CFileGuardView();

	afx_msg void OnShowData(UINT id);		//debug

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFileGuardView)
	afx_msg void OnProtectionTypeChange();
	afx_msg BOOL OnToolTip( UINT id, NMHDR * pNMHDR, LRESULT * pResult );
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in FileGuardView.cpp
inline CFileGuardDoc* CFileGuardView::GetDocument()
   { return (CFileGuardDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_FILEGUARDVIEW_H__3DC691DA_9998_11D5_A1DA_00E006F27970__INCLUDED_)

⌨️ 快捷键说明

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