VB3 How to Get Windows Master List (Task List) (78001)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q78001 SUMMARY
By calling the Windows API functions GetWindow, GetWindowText, and
GetWindowTextLength, you can get the window titles of all windows (visible
and invisible) currently loaded.
The list of all of the window titles is known as the master list. The
Windows Task Manager contains a list of the window titles for each of the
top-level windows (normally one per application). This list is known as the
task list.
The sample program listed below demonstrates how to activate an application
by using a list of the top-level windows (a task list).
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbcode KB78001 |
---|
|