hanotdlg.h

来自「实现了汉诺塔的程序设计」· C头文件 代码 · 共 70 行

H
70
字号
// hanotDlg.h : header file
/////

#if !defined(AFX_HANOTDLG_H__450D3CD0_9C2C_44C1_B17A_33782B5D0DCE__INCLUDED_)
#define AFX_HANOTDLG_H__450D3CD0_9C2C_44C1_B17A_33782B5D0DCE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CHanotDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CHanotDlg)
	enum { IDD = IDD_HANOT_DIALOG };
	CSliderCtrl	m_slider2;
	CSliderCtrl	m_slider1;
	int		m_jie;
	int		m_time;
	int		m_int;
	CString	m_zhuangtai;
	CString	m_save;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHanotDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCustomdrawSlider1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSTART();
	afx_msg void OnSTOP();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDOME();
	afx_msg void OnCustomdrawSlider2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnA_B();
	afx_msg void OnA_C();
	afx_msg void OnB_A();
	afx_msg void OnB_C();
	afx_msg void OnC_A();
	afx_msg void OnC_B();
	afx_msg void OnSAVE();
	afx_msg void OnLOAD();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HANOTDLG_H__450D3CD0_9C2C_44C1_B17A_33782B5D0DCE__INCLUDED_)

⌨️ 快捷键说明

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