⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hanluotadlg.h

📁 一个汉诺塔示例程序
💻 H
字号:
// hanluotaDlg.h : header file
//

#if !defined(AFX_HANLUOTADLG_H__F4EB66F0_37BD_482C_8F77_89AA0E8BA4D8__INCLUDED_)
#define AFX_HANLUOTADLG_H__F4EB66F0_37BD_482C_8F77_89AA0E8BA4D8__INCLUDED_

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

struct struct_Tag_Node
{
	char cTag;
	int nValude;
};


/////////////////////////////////////////////////////////////////////////////
// CHanluotaDlg dialog

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

	short moveTo( struct_Tag_Node *A, struct_Tag_Node *C, int nTiers,struct_Tag_Node *B );
    
// Dialog Data
	//{{AFX_DATA(CHanluotaDlg)
	enum { IDD = IDD_HANLUOTA_DIALOG };
	CListCtrl	m_list_out;
	int		m_tiers;
	DWORD		m_times;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHanluotaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnConfirm();
	afx_msg void OnTCard(UINT idAction, DWORD dwActionData);
	
	//}}AFX_MSG
	afx_msg long OnFinishedThread(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HANLUOTADLG_H__F4EB66F0_37BD_482C_8F77_89AA0E8BA4D8__INCLUDED_)

⌨️ 快捷键说明

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