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

📄 bookthread.cpp

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

#include "stdafx.h"
#include "ChooseBookTool.h"
#include "BookThread.h"

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

/////////////////////////////////////////////////////////////////////////////
// CBookThread

IMPLEMENT_DYNCREATE(CBookThread, CWinThread)

CBookThread::CBookThread(void* hParent)
:m_pParentDlg(hParent)
{

}

CBookThread::CBookThread()
{
}

CBookThread::~CBookThread()
{
}

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CBookThread message handlers

int CBookThread::Run() 
{
	// TODO: Add your specialized code here and/or call the base class
	CTabPageView* m_pView;
	m_pView = (CTabPageView*)m_pParentDlg;
	m_pView->AddRecordToList(m_pView->strItemDate);
	return CWinThread::Run();
}

⌨️ 快捷键说明

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