openfile.h

来自「这个是我用mfc写的一个pl0的编译器」· C头文件 代码 · 共 39 行

H
39
字号
#if !defined(AFX_OPENFILE_H__5CB1DD62_D89B_43D2_9D02_6B498BF41102__INCLUDED_)
#define AFX_OPENFILE_H__5CB1DD62_D89B_43D2_9D02_6B498BF41102__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// openfile.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// Copenfile dialog

class Copenfile : public CFileDialog
{
	DECLARE_DYNAMIC(Copenfile)

public:
	Copenfile(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
		LPCTSTR lpszDefExt = NULL,
		LPCTSTR lpszFileName = NULL,
		DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
		LPCTSTR lpszFilter = NULL,
		CWnd* pParentWnd = NULL);
		int DoModal();
	virtual ~Copenfile();

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

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

#endif // !defined(AFX_OPENFILE_H__5CB1DD62_D89B_43D2_9D02_6B498BF41102__INCLUDED_)

⌨️ 快捷键说明

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