Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
UIThread.cpp
Package: MFC_Multy.rar [view]
Upload User: shenmao
Upload Date: 2014-12-06
Package Size: 238k
Code Size: 1k
Category:
Process-Thread
Development Platform:
Visual C++
- // UIThread.cpp : implementation file
- //
- #include "stdafx.h"
- #include "Multy3.h"
- #include "UIThread.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CUIThread
- IMPLEMENT_DYNCREATE(CUIThread, CWinThread)
- CUIThread::CUIThread()
- {
- }
- CUIThread::~CUIThread()
- {
- }
- BOOL CUIThread::InitInstance()
- {
- CFrameWnd* wnd=new CFrameWnd;
- wnd->Create(NULL,"UI Thread Window");
- wnd->ShowWindow(SW_SHOW);
- wnd->UpdateWindow();
- m_pMainWnd=wnd;
- return TRUE;
- }
- int CUIThread::ExitInstance()
- {
- // TODO: perform any per-thread cleanup here
- return CWinThread::ExitInstance();
- }
- BEGIN_MESSAGE_MAP(CUIThread, CWinThread)
- //{{AFX_MSG_MAP(CUIThread)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CUIThread message handlers