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

📄 getdatadlg.h

📁 1 可执行程序TestLexicon.exe必须与数据库文件在同一个目录下 2 数据库文件名为: lexicon.mdb
💻 H
字号:
#if !defined(AFX_GETDATADLG_H__0178B2BD_804B_4FC3_BB05_0401AC835CE0__INCLUDED_)
#define AFX_GETDATADLG_H__0178B2BD_804B_4FC3_BB05_0401AC835CE0__INCLUDED_

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

BOOL GetData(const char * Prompt, CString & Data);
BOOL GetData(const char * Prompt, int & Data);
BOOL GetData(const char * Prompt, double & Data);

/////////////////////////////////////////////////////////////////////////////
// CGetDataDlg dialog

class CGetDataDlg : public CDialog
{
CString PromptStr;  // 提示信息
	// Construction
public:
	CGetDataDlg(const char * Prompt, CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGetDataDlg)
	enum { IDD = IDD_GET_DATA };
	CString	m_Input_Data; // 用于存放用户输入的数据
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGetDataDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CGetDataDlg)
	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_GETDATADLG_H__0178B2BD_804B_4FC3_BB05_0401AC835CE0__INCLUDED_)

⌨️ 快捷键说明

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