联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Enumerating top level windows - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    The object of this sample project is to demonstrate how to use the EnumWindows API function with an application-defined Callback function in order to enumerate all the top-level windows running in the Windows environment at any point of time. The enumeration of windows is done using the EnumWindows API function and an application defined callback function called fnEnumWindowsCallback. The EnumWindow API function returns searches for a top-level window and then passes the handle of the window found to the application defined function called fnEnumWindowsCallback, which in turn processes the window handle value recieved to gather information about the 'Title/Caption' of the window recieved from EnumWindows function. The sample also demonstrates how you can shut down windows from within your Visual Basic Application. It provides a form interface somewhat similar to the Windows Task Manager.

    这个项目的目的是演示如何在 EnumWindows API 函数中使用一个应用程序定义的回调函数来随时列举Windows环境中正在运行的顶层窗口。通过 EnumWindows API函数和应用程序定义的称为   fnEnumWindowsCallback的回调函数来列举窗口。 EnumWindow API函数返回搜索到的顶层窗口,并将窗口句柄传递给应用程序定义的函数 fnEnumWindowsCallback,它再用传递的窗口句柄来获取窗口的'Title/Caption' 。样例也演示了如何在 Visual Basic 应用程序中关闭窗口。它提供了一个类似于Windows任务管理器的界面。
    来源: http://visualbasic.ittoolbox.com/code/d.asp?d=1498&a=s
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    EnumWindows  1.0  2004-04-01 下载

    原始下载连接(国外) http://code.ittoolbox.com/SathyaishC/code/EnumWindows.zip

      » 合 作 伙 伴