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

📄 mini_treedlg.h

📁 数据结构课程设计!MFC做的! 其中有个是链表(单链表
💻 H
字号:
// mini_treeDlg.h : header file
//

#if !defined(AFX_MINI_TREEDLG_H__8A65D38B_03CB_4CE6_BC92_D501A4A490EF__INCLUDED_)
#define AFX_MINI_TREEDLG_H__8A65D38B_03CB_4CE6_BC92_D501A4A490EF__INCLUDED_

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

typedef struct Node
{ int x;
  int y;
}Node;


/////////////////////////////////////////////////////////////////////////////
// CMini_treeDlg dialog

class CMini_treeDlg : public CDialog
{
// Construction
private:
	CBrush m_bkBrush; 
public:
	CMini_treeDlg(CWnd* pParent = NULL);	// standard constructor
   


// Dialog Data
	//{{AFX_DATA(CMini_treeDlg)
	enum { IDD = IDD_MINI_TREE_DIALOG };
	int		m_e1;
	int     m_time;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
    afx_msg void drawline(int);
	afx_msg void DrawRect(Node);
	afx_msg void Drawline(Node,Node,float);
	afx_msg void PrintTree_PRIM();
	afx_msg void PrintTree_dan();
	//afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor );
	// Generated message map functions
	//{{AFX_MSG(CMini_treeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnChangeEdit1();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnRadio1();
	afx_msg void Ondanbu();
	afx_msg void OnRadio2();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:void CMini_treeDlg::Initialize( );
};

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

#endif // !defined(AFX_MINI_TREEDLG_H__8A65D38B_03CB_4CE6_BC92_D501A4A490EF__INCLUDED_)

⌨️ 快捷键说明

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