recvdlgthread.cpp

来自「聊天程序」· C++ 代码 · 共 52 行

CPP
52 行
字号
// RecvDlgThread.cpp : implementation file
//

#include "stdafx.h"
#include "MICQWin32x.h"
#include "RecvDlgThread.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRecvDlgThread

IMPLEMENT_DYNCREATE(CRecvDlgThread, CWinThread)

CRecvDlgThread::CRecvDlgThread()
{
}

CRecvDlgThread::~CRecvDlgThread()
{
}

BOOL CRecvDlgThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	CRecvMsgDlg winDlg;
	winDlg.m_received_from_uin=received_uin;
	winDlg.m_received_from_nick=received_nick;
	winDlg.m_received_msg=received_msg;
	winDlg.DoModal();
	return TRUE;
}

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

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

/////////////////////////////////////////////////////////////////////////////
// CRecvDlgThread message handlers

⌨️ 快捷键说明

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