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

📄 bmpdlg.h

📁 串口收发工具
💻 H
字号:
/*************************************************************************

BmpDlg.h header file

CBmpDialog: A bitmap open dialog with preview. 
            by The Gremlin

Compatibility: Visual C++ 4.0 and up.

**************************************************************************/

#ifndef _BMPDIALOG_H_
#define _BMPDIALOG_H_


// CBmpDialog dialog

class CBmpDialog : public CFileDialog
{
	DECLARE_DYNAMIC(CBmpDialog)

public:
	CBmpDialog(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,
		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;
public:
	static bool	bBmpCanUse;//weiyi add
	static int nBmpIndex;
protected:
	//{{AFX_MSG(CBmpDialog)
		// 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 + -