Applies to: Windows
collection
See also: FindWindow method
Finds the next window in a collection matching the specified
criteria, starting from a particular window in the collection.
Syntax:
Set objWindow =
object.FindNextWindow(FromWindow, Caption, ClassName)
The FindNextWindow method syntax has these parts:
Part |
Description |
objWindow |
An object variable to hold the window you want to find. |
object |
The name of a Windows collection. |
FromWindow |
The window from which the search will begin. FromWindow
must be an element of the collection being searched. Typically, FromWindow
will have been obtained from a previous call to FindWindow. The
window specified by FromWindow is not included in the search. |
Caption |
A caption to search for. A search can be performed on
partial captions using the asterisk * as a wildcard. |
ClassName |
Optional. A class name to search for. |
|