-
大小: 7.05MB文件類型: .rar金幣: 2下載: 0 次發布日期: 2023-09-24
- 語言: 其他
- 標簽:
資源簡介
一個簡單的任務管理器,實現 了應用程序和進程二個功能,同時在進程名前加了圖標。

代碼片段和文件信息
//?AutoUpRun.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“AutoUpRun.h“
#include?“AutoUpRunDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAutoUpRunApp
BEGIN_MESSAGE_MAP(CAutoUpRunApp?CWinApp)
//{{AFX_MSG_MAP(CAutoUpRunApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAutoUpRunApp?construction
CAutoUpRunApp::CAutoUpRunApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAutoUpRunApp?object
CAutoUpRunApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAutoUpRunApp?initialization
BOOL?CAutoUpRunApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CAutoUpRunDlg?dlg;
? m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????29996??2010-03-13?15:47??AutoUpRun\AutoUpRun.aps
?????文件???????1448??2010-03-13?16:00??AutoUpRun\AutoUpRun.clw
?????文件???????2106??2010-03-09?22:16??AutoUpRun\AutoUpRun.cpp
?????文件???????4857??2010-03-13?15:50??AutoUpRun\AutoUpRun.dsp
?????文件????????541??2010-03-07?18:06??AutoUpRun\AutoUpRun.dsw
?????文件???????1357??2010-03-07?18:06??AutoUpRun\AutoUpRun.h
?????文件??????91136??2010-03-13?16:00??AutoUpRun\AutoUpRun.ncb
?????文件??????56832??2010-03-13?16:00??AutoUpRun\AutoUpRun.opt
?????文件???????1798??2010-03-13?16:00??AutoUpRun\AutoUpRun.plg
?????文件???????6778??2010-03-09?23:47??AutoUpRun\AutoUpRun.rc
?????文件??????16807??2010-03-10?23:42??AutoUpRun\AutoUpRunDlg.cpp
?????文件???????2148??2010-03-10?19:50??AutoUpRun\AutoUpRunDlg.h
?????文件????6136832??2010-03-13?15:59??AutoUpRun\Debug\AutoUpRun.bsc
?????文件??????15153??2010-03-13?15:58??AutoUpRun\Debug\AutoUpRun.obj
?????文件????8964332??2010-03-13?15:58??AutoUpRun\Debug\AutoUpRun.pch
?????文件????4195328??2010-03-13?15:59??AutoUpRun\Debug\AutoUpRun.pdb
?????文件??????16716??2010-03-09?23:47??AutoUpRun\Debug\AutoUpRun.res
?????文件??????????0??2010-03-13?15:58??AutoUpRun\Debug\AutoUpRun.sbr
?????文件??????67419??2010-03-13?15:58??AutoUpRun\Debug\AutoUpRunDlg.obj
?????文件??????????0??2010-03-13?15:58??AutoUpRun\Debug\AutoUpRunDlg.sbr
?????文件?????151576??2010-03-13?15:58??AutoUpRun\Debug\StdAfx.obj
?????文件????1786543??2010-03-13?15:58??AutoUpRun\Debug\StdAfx.sbr
?????文件?????377856??2010-03-13?15:59??AutoUpRun\Debug\vc60.idb
?????文件?????577536??2010-03-13?15:58??AutoUpRun\Debug\vc60.pdb
?????文件???????3633??2010-03-07?18:06??AutoUpRun\ReadMe.txt
?????文件?????221184??2010-03-13?16:00??AutoUpRun\Release\AutoUpRun.exe
?????文件??????13108??2010-03-13?16:00??AutoUpRun\Release\AutoUpRun.obj
?????文件????6996544??2010-03-13?16:00??AutoUpRun\Release\AutoUpRun.pch
?????文件??????16716??2010-03-13?16:00??AutoUpRun\Release\AutoUpRun.res
?????文件??????46294??2010-03-13?16:00??AutoUpRun\Release\AutoUpRunDlg.obj
............此處省略22個文件信息
評論
共有 條評論