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

📄 useshgetfileinfo.h

📁 这是一本学习 window编程的很好的参考教材
💻 H
字号:
// This file was created on February 5th 2003. By Doru Cioata
//
//


#if !defined(AFX_USESHGETFILEINFO_H__CE3A83A6_10C3_46BC_9D55_EFB612864292__INCLUDED_)
#define AFX_USESHGETFILEINFO_H__CE3A83A6_10C3_46BC_9D55_EFB612864292__INCLUDED_

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

#pragma warning (disable : 4089)

class CUseShGetFileInfo{

public:
	CUseShGetFileInfo();
	virtual ~CUseShGetFileInfo();
	
	//get the system's image list
	HIMAGELIST  GetSystemImageListHandle( BOOL bSmallIcon );
	
	//get the image's index in the system's image list
	int GetFileIconIndex( WTL::CString strFileName , BOOL bSmallIcon);
	int GetDirIconIndex(BOOL bSmallIcon);

	//get a handle to the icon
	HICON GetFileIconHandle(WTL::CString strFileName,BOOL bSmallIcon);
	HICON GetFolderIconHandle(BOOL bSmallIcon );

	//get file type
	WTL::CString GetFileType(WTL::CString strFileName);


};

#endif 


⌨️ 快捷键说明

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