|
项目描述: |
Shows how to use EnumWindows to iterate through all the top-level windows, filtering to build a Task List replica. Also shows how to get around the lame restrictions on SetForegroundWindow imposed in Win98 and Windows 2000.
Completely rewritten (summer 2000) to recreate the Applications tab of NT's Task Manager. The new and improved CTaskList class now offers both AltTab and TaskMgr modes of window detection, as well as retrieval of window captions and icons. Also shows two ways -- documented automation and undocumented shell32 call -- to invoke the standard system Run dialog.
TaskList这个例子演示了如何使用EnumWindows 来枚举所有的顶层窗口,建造一个任务条的替换。也演示了在 Win98 和 Windows 2000中SetForegroundWindow 函数的一些缺陷。
完全重写的版本重新创建了NT任务条的应用程序标签。新改进的CTaskList 类现在提供了窗口检测的AltTab and TaskMgr方式,以及检索窗口标题和图标。也演示了两种方法:文档化自动化和非文档化shell32 调用-调用标准的系统运行对话框。
来源: http://www.mvps.org/vb/ |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
TaskList |
 1.0  |
2004-04-18 |
下载 |
|
|