VB遍历桌面所有的窗口和句柄

所属分类:Windows编程
开发工具:Visual Basic
文件大小:68KB
下载次数:0
上传日期:2023-10-10 15:45:44
上 传 者Kurama
说明:  VB遍历桌面所有的窗口和句柄(父窗口和子窗口,类名)
(VB traverses all windows and handles on the desktop (parent and child windows, class names))

文件列表:
EnumerationX.exe (61440, 2000-06-26)
Form1.frm (10352, 2010-12-05)
Form2.frm (1491, 2010-12-05)
Form2.frx (52447, 2010-12-05)
Module1.bas (8410, 2010-12-05)
MSSCCPRJ.SCC (196, 2010-12-05)
Spy_Form.frm (3344, 2010-12-05)
CResize.cls (3277, 2010-12-05)
Enumeration.vbp (910, 2010-12-05)
Enumeration.vbw (234, 2019-06-03)

Hi, This is an updated version of the EnumerationX program, posted 6/26/2000 to FreeVBCode.com. In addition to enumerating all windows, the program now includes a number of other features, which you can access by right-clicking the entry for the window in the left-hand side of the list view control. I'm just right now going to explain the new feature which is spying (enumerating) menus of other applications. When you enumerate the parent windows you can right click any handle and if it has any menus, the 'Spy Menus' option will be enabled, otherwise it will be disabled. WARNING: If the parent having menus is MDI And its child windows are MAXIMIZED Then spying the menus wil CRASH EnumeratioonX and may also crash VB too if running inthe VB IDE, but if the child windows are not maximized then the menus will be spied accurately. When the spy window is active and the 'bring window to top' checkbox is checked then double clicking any menu item will bring the selected window to the top and show the actions of clicking the menu, however if the checkbox isn't checked then the EnumerationX will remain on top but the action of clicking will take place. It does not spy the menus of floating type toolbars like that of Word 97/2000 and IE, but it can spy the menus of Adobe Acrobat, WordPad, Calculator, Notepad, Winzip etc, the reason is that I don't seem to be getting the handle of the menus of IE or Word. Whenever I can manage to do that I'll post an upgrade. For questions and comments please feel free to contact me at . I hope this program helps you understand things you didnt know. Regards. - Abubakar

近期下载者

相关文件


收藏者