【VC开源代码栏目提醒】:网学会员VC开源代码为您提供UserThread1.cpp参考,解决您在UserThread1.cpp学习中工作中的难题,参考学习。
// UserThread1.cpp : implementation file
//
#include "stdafx.h"
#include "UserThread.h"
#include "UserThread1.h"
#include "UserThreadDlg.h"
#include "Employee.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CUserThread
IMPLEMENT_DYNCREATE(CUserThread, CWinThread)
CUserThread::CUserThread()
{
}
CUserThread::~CUserThread()
{
}
BOOL CUserThread::InitInstance()
{
CEmployee EmployeeDlg;
EmployeeDlg.DoModal();
return TRUE;
}
int CUserThread::ExitInstance()
{
return CWinThread::ExitInstance();
}
BEGIN_MESSAGE_MAP(CUserThread, CWinThread)
//{{AFX_MSG_MAP(CUserThread)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CUserThread message handlers