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

📄 filepath.h

📁 《面向对象程序设计实用教程》一书的源码
💻 H
字号:
#if !defined(AFX_FILEPATH_H__55F7598B_C0B6_4877_842D_269D6143E870__INCLUDED_)
#define AFX_FILEPATH_H__55F7598B_C0B6_4877_842D_269D6143E870__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// FilePath dialog

class FilePath : public CFileDialog
{
	DECLARE_DYNAMIC(FilePath)

public:
	CString m_StrLine;
	CString m_StrPo;
	CString m_StrSourse;
	CString m_StrOffset;
	CString m_StrCheckspace;
	CString m_StrDate;
    
	CEdit* pEditLine;
	CEdit* pEditCheck;
	CEdit* pEditOffset;
	CEdit* pEditPo;
	CEdit* pEditSourse;

	FilePath(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);

protected:
	//{{AFX_MSG(FilePath)
	afx_msg void OnOutofmemorySpin1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDestroy();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FILEPATH_H__55F7598B_C0B6_4877_842D_269D6143E870__INCLUDED_)

⌨️ 快捷键说明

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