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

📄 rundlgthread.cpp

📁 此程序用到了,ADO连接ACCESS数据库,切分窗口,以及不同视图之间进行通信.List Control和Tree Control,用户UI线程等技术.
💻 CPP
字号:
// RunDlgThread.cpp : implementation file
//

#include "stdafx.h"
#include "ChooseBookTool.h"
#include "RunDlgThread.h"

#include "WaitDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRunDlgThread

IMPLEMENT_DYNCREATE(CRunDlgThread, CWinThread)

CRunDlgThread::CRunDlgThread(void* hParent)
:m_pParentDlg(hParent)
{
}
CRunDlgThread::CRunDlgThread()
{
}

CRunDlgThread::~CRunDlgThread()
{
}

BOOL CRunDlgThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	return TRUE;
}

int CRunDlgThread::ExitInstance()
{
	// TODO:  perform any per-thread cleanup here
	ExitThread(GetCurrentThreadId());
	return CWinThread::ExitInstance();
}

BEGIN_MESSAGE_MAP(CRunDlgThread, CWinThread)
	//{{AFX_MSG_MAP(CRunDlgThread)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRunDlgThread message handlers

int CRunDlgThread::Run() 
{
	// TODO: Add your specialized code here and/or call the base class
	CWaitDlg* pDlg;
	pDlg = (CWaitDlg*)m_pParentDlg;
	pDlg->BeginProgress();
	return CWinThread::Run();
}

⌨️ 快捷键说明

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