www.pudn.com > guess.rar > guessDlg.h


// guessDlg.h : header file 
// 
 
#if !defined(AFX_GUESSDLG_H__F1B0FC06_2814_4CC7_B589_DC08A1E4BE5F__INCLUDED_) 
#define AFX_GUESSDLG_H__F1B0FC06_2814_4CC7_B589_DC08A1E4BE5F__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CGuessDlg dialog 
 
class CGuessDlg : public CDialog 
{ 
// Construction 
private:CStatic m_stStatic[18]; 
public: 
	CGuessDlg(CWnd* pParent = NULL);	// standard constructor 
    int a,b,c,min,sec,total; 
	UINT  m_uTimer; 
	//bool isstart,restart,guess; 
    int nWidth,nHeight; 
	int dx,dy; 
	int num[4]; 
	 
// Dialog Data 
	//{{AFX_DATA(CGuessDlg) 
	enum { IDD = IDD_GUESS_DIALOG }; 
	CButton	m_guess; 
	CButton	m_restart; 
	CButton	m_start; 
	int		m_num0; 
	int		m_num1; 
	int		m_num2; 
	int		m_num3; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CGuessDlg) 
	public: 
	virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT); 
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CGuessDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnButton1(); 
	afx_msg void OnButton2(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnRestart(); 
	afx_msg void OnButton4(); 
	afx_msg void OnButton5(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_GUESSDLG_H__F1B0FC06_2814_4CC7_B589_DC08A1E4BE5F__INCLUDED_)