00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #include "stdafx.h" 00007 #include "FdmApp.h" 00008 #include "FloatingWndsThread.h" 00009 00010 #ifdef _DEBUG 00011 #define new DEBUG_NEW 00012 #undef THIS_FILE 00013 static char THIS_FILE[] = __FILE__; 00014 #endif 00015 00016 IMPLEMENT_DYNCREATE(CFloatingWndsThread, CWinThread) 00017 00018 CFloatingWndsThread::CFloatingWndsThread() 00019 { 00020 } 00021 00022 CFloatingWndsThread::~CFloatingWndsThread() 00023 { 00024 } 00025 00026 BOOL CFloatingWndsThread::InitInstance() 00027 { 00028 OleInitialize (NULL); 00029 00030 m_wndFloating.Create (); 00031 m_wndFloatingInfo.Create (); 00032 00033 return TRUE; 00034 } 00035 00036 int CFloatingWndsThread::ExitInstance() 00037 { 00038 00039 return CWinThread::ExitInstance(); 00040 } 00041 00042 BEGIN_MESSAGE_MAP(CFloatingWndsThread, CWinThread) 00043 //{{AFX_MSG_MAP(CFloatingWndsThread) 00044 00045 //}}AFX_MSG_MAP 00046 END_MESSAGE_MAP() 00047
1.5.6