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

📄 baizheshudlg.h

📁 用VC编写的一个树生成的程序
💻 H
字号:
// baizheshuDlg.h : header file
//

#if !defined(AFX_BAIZHESHUDLG_H__75D279E4_414D_401B_AC41_CA7D1CF91C5A__INCLUDED_)
#define AFX_BAIZHESHUDLG_H__75D279E4_414D_401B_AC41_CA7D1CF91C5A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
static HWND hWnd;
#include "MyList.h"
/////////////////////////////////////////////////////////////////////////////
// CBaizheshuDlg dialog


class CBaizheshuDlg : public CDialog
{
// Construction
public:
	static void repaint2();
	void data();
	 void repaint();
	static void move();
	void init();
	static void setcolor(int i);
	CBaizheshuDlg(CWnd* pParent = NULL);// standard constructor
    static UINT ThreadProc1(LPVOID pPar);
    static UINT ThreadProc2(LPVOID pPar);
    static UINT ThreadProc3(LPVOID pPar);
    static UINT ThreadProc4(LPVOID pPar);
    static UINT ThreadProc5(LPVOID pPar);
    CWinThread* m_pThread; // 线程1的对象指针

	int t;
	//int flag;
	//static void add(); //****************************************改
   // static UINT ThreadProc1(LPVOID pPar);
//	static UINT ThreadProc2(LPVOID pPar);
// Dialog Data
	//{{AFX_DATA(CBaizheshuDlg)
	enum { IDD = IDD_BAIZHESHU_DIALOG };
	CButton	m_zt;
	CMyList	m_MyList6;
	CMyList	m_MyList4;
	CMyList	m_MyList5;
	CMyList	m_MyList3;
	CMyList	m_MyList2;
	CMyList	m_MyList1;
	CSliderCtrl	m_ss;
	//}}AFX_DATA

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

// Implementation
protected:


	
	static void output();
	static void CreateLoserTree();
	static void Adjust(int s);
	static void input(int i,int &a);
    static void K_Merge();
    void OnTimer(UINT nIDEvent) ;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CBaizheshuDlg)
	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 OnControl();
	afx_msg void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:

POINT Dialog; // 对话框窗口尺寸


CString str;
};

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

#endif // !defined(AFX_BAIZHESHUDLG_H__75D279E4_414D_401B_AC41_CA7D1CF91C5A__INCLUDED_)

⌨️ 快捷键说明

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