www.pudn.com > only.rar > onlyDlg.h
// onlyDlg.h : header file
//
#if !defined(AFX_ONLYDLG_H__B4049255_8850_4316_A846_11FA768B5592__INCLUDED_)
#define AFX_ONLYDLG_H__B4049255_8850_4316_A846_11FA768B5592__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// COnlyDlg dialog
class COnlyDlg : public CDialog
{
// Construction
public:
void jsjdown(int nx,int ny,char style);
int RupToLdown(int i,int j,char style);
int LupToRdown(int i,int j,char style);
int UpDown(int i,int j,char style);
int LeftRight(int i,int j,char style);
bool judge(int nx,int ny,char style);
bool m_bycolor;
void Drawqz(int nx,int ny,char hb,CPaintDC& dc);
void Drawqp(CPaintDC& dc);
char map[15][15];
int skill;
CMenu* m_pmenu;
COnlyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(COnlyDlg)
enum { IDD = IDD_ONLY_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COnlyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(COnlyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnGame();
afx_msg void OnBest();
afx_msg void OnExit();
afx_msg void OnGrade1();
afx_msg void OnGrade2();
afx_msg void OnGrade3();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ONLYDLG_H__B4049255_8850_4316_A846_11FA768B5592__INCLUDED_)