livedialog.h

来自「讲mfc的书」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_LIVEDIALOG_H__A8650674_0338_11D1_BC98_00400526DBEA__INCLUDED_)
#define AFX_LIVEDIALOG_H__A8650674_0338_11D1_BC98_00400526DBEA__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLiveDialog dialog

class CLiveDialog : public CDialog
{
// Construction
public:
	CView *m_View;
	CLiveDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CLiveDialog)
	enum { IDD = IDD_ENTRYDLG };
	CString	m_email;
	CString	m_name;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLiveDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL in_init;

	// Generated message map functions
	//{{AFX_MSG(CLiveDialog)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LIVEDIALOG_H__A8650674_0338_11D1_BC98_00400526DBEA__INCLUDED_)

⌨️ 快捷键说明

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