The archive contains classes that can be used to enumerate and/or find windows using their titles, class names or handles.
The Helper.GetWindows() function takes one parameter, a window expression string, representing the window or controls’ hierarchy. For instance,
*[@c=IEFrame]/*[@c=WorkerW]/*[@c=ReBarWindow32]/*[@c=ComboBoxEx32]
can be used to obtain all Internet Explorer (6.*) windows’ URLs.
Extended usage is available in the “Expressions (Usage).txt” file.
Code is compatible with both .NET Framework v1.* and v2.0; however, the sample solution file is created using Microsoft Visual Studio 2005.
ToDo’s:
- Implement starting the search from a non-top-level window.
- Implement obtaining handles to all child windows.
The source code, including a sample application, is available here
Search
About |
Currently, he is administering AeroXperience and coding using Visual Studio 2008 on Windows 7.
Latest
- Encoding uncompressed audio with FLAC in C#
- Indicating progress in console windows
- 2010
- Windows 7 – Какво ново?
- Most Valuable Professional and what’s to come
- Tweak DWM from your programs, Part 3
- Tweak DWM from your programs, Part 2
- Tweak DWM from your programs, Part 1
- Windows Vista Language Packs Released
- Windows Sidebar Styler, v2.0.6

No Responses to “Window Enumerating Helper”
Please Wait
Leave a Reply