www.pudn.com > goodchessGame.zip > OptionsDialog.h


#if !defined(AFX_OPTIONSDIALOG_H__8190FF94_7634_4420_93C0_53C09265530F__INCLUDED_) 
#define AFX_OPTIONSDIALOG_H__8190FF94_7634_4420_93C0_53C09265530F__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// OptionsDialog.h : header file 
// 
 
#include "ToolTip.h" 
#include "Resource.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// COptionsDialog dialog 
 
class COptionsDialog : public CDialog 
{ 
// Construction 
public: 
 
		enum { 
		GAME_MARRIAGE, 
		GAME_CALLBREAK, 
		GAME_HEARTS, 
		GAME_POPLU, 
		GAME_TWENTYNINE, 
	}; 
 
	COptionsDialog(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(COptionsDialog) 
	enum { IDD = IDD_OPTIONSDIALOG }; 
	CEdit	m_ctrlServerComputerName; 
	CButton	m_ctrlCallbreak; 
	CButton	m_ctrlHearts; 
	CButton	m_ctrlMarriage; 
	CButton	m_ctrlPoplu; 
	CButton	m_ctrlTwentyNine; 
	CEdit	m_ctrlPlayerName; 
	int		m_nPlayNetwork; 
	int		m_nNumOfPlayers; 
	CString	m_strPlayerName; 
	BOOL	m_IsHost; 
	CString	m_strServerComputeName; 
	//}}AFX_DATA 
 
 
	int m_nGameID; 
	 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(COptionsDialog) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual void OnCancel(); 
	virtual void OnOK(); 
	int m_nNumOfTimesTimerCalled; 
	CMFECToolTip m_toolTip; 
 
	// Generated message map functions 
	//{{AFX_MSG(COptionsDialog) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnCallbreak(); 
	afx_msg void OnHearts(); 
	afx_msg void OnMarriage(); 
	afx_msg void OnPoplu(); 
	afx_msg void OnTwentynine(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnPlayonnetwork(); 
	afx_msg void OnPlayonsinglecomputer(); 
	afx_msg void OnIshost(); 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_OPTIONSDIALOG_H__8190FF94_7634_4420_93C0_53C09265530F__INCLUDED_)