Originally posted by: shay
Hi All
Can anyone knows how to close all the tasks in the applications tab???
thanks in advance
shay
Originally posted by: Chris Conti
HWND TaskManagerExDllApp::FindTaskManagerWindow()
return hWndTaskMgr;
and in the SystemInfoDlg and FindUsedDlg OnInitDialog just before returning TRUE I added:
On my system (Win2KPro SP1), if Task Manager is set for "Always on top" then
the info/search dialogs are always hidden. I fixed this by modifying FindTaskManagerWindow to be:
{
HWND hWndTaskMgr = ::FindWindow( (LPCTSTR)32770, GetTaskManagerCaption() );
if (NULL == hWndTaskMgr)
hWndTaskMgr = ::FindWindow( (LPCTSTR)32770, GetNewTaskManagerCaption() );
}
...
HWND TaskMgrWnd = theApp.FindTaskManagerWindow();
bool TopMostSet = (0 != (GetWindowLong(TaskMgrWnd,GWL_EXSTYLE) & WS_EX_TOPMOST));
if (TopMostSet)
SetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
...
Originally posted by: Rodrigo Aceves
Hi, I tried it and worked fine. But I can't compile the project. I get an error message:
LINK : fatal error LNK1104: cannot open file "nafxcwd.lib"
I searched my computer but I can�t find that file. What is it?
And another comment:
I used the application and it worked well, then I closed the Task Manager but it does nothing. I don�t know why it runned only once.
Thanks.
Reply
Originally posted by: Jason Yan
Task manager provides a feature to monitor the usage of all processors on a multi-processor machine. That is choose View menu - CPU History, and then check One Graph Per CPU. But I found it did not work. Why?
ReplyOriginally posted by: Tom Schmidt
Great work Zoltan, but there's a little bug again:
The static buffer for the caption ot TaskMan.exe will be overwritten with the english caption.
Move the '_tcscpy' statement into the 'if' scope in the function 'GetTaskManagerCaption' in both TaskManagerExDll.cpp and TaskManagerEx.cpp
greetings
Tom
Originally posted by: Ding Qian
Because the title of Win2000 chinese edition's tskmgr is
"Windows 任务管理器" not "Windows Task Manager".
So it doesn't work on Win2000 chinese edition.
Originally posted by: Park, Sungjin
This Tool and Source Code is Excellent!
This helps me understand windows System Program!
Thanks.....
Reply
Originally posted by: Richard Boesiger
It does not hook to the task manager in the german version of Win2000.
In Win2000, the caption of the Task manager is
"Windows Task-Manager" (watch the "-")
Originally posted by: Serge Weinstock
Really useful.
Reply