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

📄 openbmpdlg.h

📁 visual c++ 实例编程
💻 H
字号:
/*************************************************************************

BmpDlg.h header file

COpenBmpDialog: 一个打开位图文件并预展对话框
**************************************************************************/

#ifndef _BMPDIALOG_H_
#define _BMPDIALOG_H_
#include "HMHOpenFile.h"

// COpenBmpDialog dialog

class COpenBmpDialog : public CHMHOpenFile
{
	DECLARE_DYNAMIC(COpenBmpDialog)

public:
	COpenBmpDialog(BOOL bOpenFileDialog = TRUE, // TRUE for FileOpen, FALSE for FileSaveAs. Who would want a save with preview?
		LPCTSTR lpszDefExt = NULL,
		LPCTSTR lpszFileName = NULL,
		DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT|OFN_FILEMUSTEXIST,
		LPCTSTR lpszFilter = NULL,
		CWnd* pParentWnd = NULL);

    static BOOL m_showpreview;  // Store this variable in the registry if you want the "Show Preview" setting to be persistent

    static HBITMAP hpreview;

protected:
	//{{AFX_MSG(COpenBmpDialog)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


#endif

⌨️ 快捷键说明

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