文件名称:任务管理器源代码
文件大小:209KB
文件格式:RAR
更新时间:2011-06-13 07:03:51
有点像微软的源码,我也不清楚!反正不错了.
INT_PTR CALLBACK MainWindowProc(
HWND hwnd, // handle to dialog box
UINT uMsg, // message
WPARAM wParam, // first message parameter
LPARAM lParam // second message parameter
)
{
static BOOL fIsHidden = FALSE;
// If this is a size or a move, update the position in the user's options
if (uMsg == WM_SIZE || uMsg == WM_MOVE)
{
// We don't want to start recording the window pos until we've had
// a chance to set it to the intialial position, or we'll lose the
// user's preferences
if (fAlreadySetPos)
if (!IsIconic(hwnd) && !IsZoomed(hwnd))
GetWindowRect(hwnd, &g_Options.m_rcWindow);
}
【文件预览】:
[ch]taskmgr
----TaskPage.cpp(64KB)
----resource.h(15KB)
----taskmgr.sln(903B)
----Page.h(3KB)
----main()
--------TaskIcon.h(558B)
--------Option.cpp(4KB)
--------TaskIcon.cpp(8KB)
--------Option.h(5KB)
--------TaskNot.h(981B)
----taskmgr.rc(39KB)
----PerfPage.h(3KB)
----taskmgr.suo(10KB)
----taskmgr.vcproj(6KB)
----taskmgr.h(7KB)
----ProcInfo.cpp(34KB)
----Page.cpp(84B)
----struct.h(7KB)
----define.h(8KB)
----PerfPage.cpp(53KB)
----ProcPage.h(12KB)
----asm.cpp(4KB)
----ptrarray.h(4KB)
----Release()
--------taskmgr.exe(132KB)
----TaskPage.h(6KB)
----Res()
--------bmpback.bmp(214B)
--------tray1.ico(318B)
--------bmpforwa.bmp(226B)
--------tray8.ico(318B)
--------tray11.ico(318B)
--------ledlit.bmp(2KB)
--------tray5.ico(318B)
--------main.ico(1KB)
--------bitmap1.bmp(2KB)
--------tray3.ico(318B)
--------numbers.bmp(646B)
--------tray0.ico(318B)
--------tray9.ico(318B)
--------bmp00001.bmp(246B)
--------tray7.ico(318B)
--------default.ico(1KB)
--------tray2.ico(318B)
--------tray10.ico(318B)
--------tray4.ico(318B)
--------bitmap2.bmp(246B)
--------ledunlit.bmp(2KB)
--------tray6.ico(318B)
----ProcPage.cpp(98KB)
----taskmgr.cpp(73KB)
----taskmgr.aps(172KB)
----ptrarray.cpp(6KB)