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

📄 recent.h

📁 著名的任天堂FC游戏机模拟器VirtuaNes 085版的源码!
💻 H
字号:
//
// Recent File 僋儔僗
//
#ifndef	__CRECENT_INCLUDED__
#define	__CRECENT_INCLUDED__

#define	WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>

#include <string>
using namespace std;

#include "Pathlib.h"
#include "Registry.h"

class	CRecent
{
public:
	static	LPCSTR	GetName( INT nID );
	static	LPCSTR	GetPath( INT nID );

	static	void	UpdateMenu( HMENU hMenu );
	static	void	Add( LPCSTR lpszPath );

	static	void	Load();
	static	void	Save();

protected:
	enum { RECENT_MAX=10 };
	static	CHAR	m_RecentName[RECENT_MAX][_MAX_PATH];
	static	CHAR	m_RecentPath[RECENT_MAX][_MAX_PATH];
	static	CHAR	m_TempPath[_MAX_PATH];

	// Helper
	static	void	MakeManuPath( LPSTR lpszPath );
private:
};

#endif	// !__CRECENT_INCLUDED__

⌨️ 快捷键说明

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