choicedlg.h

来自「VisualC高级编程技术精粹.rar」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_CHOICEDLG_H__F91FD21F_B531_480E_A182_CA4A184A179D__INCLUDED_)
#define AFX_CHOICEDLG_H__F91FD21F_B531_480E_A182_CA4A184A179D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CChoiceDlg dialog

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

	BOOL Create();

// Dialog Data
	//{{AFX_DATA(CChoiceDlg)
	enum { IDD = IDD_CHOICEDLG_DIALOG };
		// NOTE: the ClassWizard will add data members here
	CString m_csSelCountry;
	//}}AFX_DATA


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

// Implementation
protected:
	CWnd *m_pParent;
	int m_nID;

	// Generated message map functions
	//{{AFX_MSG(CChoiceDlg)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnRadioChina();
	afx_msg void OnRadioAmerica();
	afx_msg void OnRadioAustralia();
	afx_msg void OnRadioFinland();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CHOICEDLG_H__F91FD21F_B531_480E_A182_CA4A184A179D__INCLUDED_)

⌨️ 快捷键说明

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