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

📄 ch13demo2dlg.h

📁 零基础学Visual.C....教案PPT.随书光盘-452M.zip
💻 H
字号:
// Ch13Demo2Dlg.h : header file
//

#if !defined(AFX_CH13DEMO2DLG_H__C5BF7543_D37A_4A78_BEBE_C65E8DC1E67A__INCLUDED_)
#define AFX_CH13DEMO2DLG_H__C5BF7543_D37A_4A78_BEBE_C65E8DC1E67A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCh13Demo2Dlg dialog
typedef struct Threadinfo{
	CProgressCtrl *progress;								//进度条对象
	int speed;												//进度条速度
	int pos;												//进度条位置
} thread,*lpthread;

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

// Dialog Data
	//{{AFX_DATA(CCh13Demo2Dlg)
	enum { IDD = IDD_CH13DEMO2_DIALOG };
	CProgressCtrl	m_progress3;
	CProgressCtrl	m_progress2;
	CProgressCtrl	m_progress1;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	thread thread1;												//线程1的结构
	thread thread2;												//线程2的结构
	thread thread3;												//线程3的结构
	HANDLE hThread1;										//线程1线程句柄
	HANDLE hThread2;											//线程2线程句柄
	HANDLE hThread3;											//线程3线程句柄


	// Generated message map functions
	//{{AFX_MSG(CCh13Demo2Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnStar1();
	afx_msg void OnStar2();
	afx_msg void OnStar3();
	afx_msg void OnPause1();
	afx_msg void OnPause2();
	afx_msg void OnPause3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CH13DEMO2DLG_H__C5BF7543_D37A_4A78_BEBE_C65E8DC1E67A__INCLUDED_)

⌨️ 快捷键说明

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