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

📄 floatthread.cpp

📁 为联众台球游戏开发
💻 CPP
字号:
// FloatThread.cpp : implementation file
//

#include "stdafx.h"
#include "TaiQiu.h"
#include "FloatThread.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFloatThread

IMPLEMENT_DYNCREATE(CFloatThread, CWinThread)

CFloatThread::CFloatThread()
{
}

CFloatThread::~CFloatThread()
{
}

BOOL CFloatThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	m_floatDlg.Create(IDD_FLOATDIALOG, NULL);	
	m_floatDlg.ShowWindow(SW_SHOW);
	m_floatDlg.SetTimerRun(0);
	return TRUE;
}

int CFloatThread::ExitInstance()
{
	// TODO:  perform any per-thread cleanup here
	m_floatDlg.CloseDlg();
	return CWinThread::ExitInstance();
}

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

/////////////////////////////////////////////////////////////////////////////
// CFloatThread message handlers

⌨️ 快捷键说明

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