shfile.h

来自「《Windows多媒体编程基础》书第五章源代码SimpleBrowse一款简单易」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_SHFILE_H__841CAA45_3E3D_11D3_A658_0000E8778115__INCLUDED_)
#define AFX_SHFILE_H__841CAA45_3E3D_11D3_A658_0000E8778115__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SHFile.h : header file
//
#include "OXUNC.h"



/////////////////////////////////////////////////////////////////////////////
// CSHFile command target

class AFX_EXT_CLASS CSHFile : public COXUNC
{
	DECLARE_SERIAL(CSHFile)


// Attributes
public:
	CSHFile(LPCTSTR pszUNC = NULL);
	virtual ~CSHFile();

// Operations
public:
	int 	GetIconIndex();
	CString	GetDisplayName();
	CString	GetDescription();
	static void	GetSystemImageList(CImageList * pSmallList, CImageList * pLargeList);

	//File information
	CFileStatus GetFileStatus();
	BOOL SetFileStatus(CFileStatus fs);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSHFile)
	//}}AFX_VIRTUAL

// Implementation
protected:
	//File information
	CFileStatus m_fs;

	// Generated message map functions
	//{{AFX_MSG(CSHFile)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

//	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SHFILE_H__841CAA45_3E3D_11D3_A658_0000E8778115__INCLUDED_)

⌨️ 快捷键说明

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