DesktopApplication.Windows

From Xojo Documentation

Method

DesktopApplication.Windows() As Iterable

New in 2021r3

Supported for all project types and targets.

Allows you to iterate through all the open windows.

fa-exclamation-circle-32.png
This only iterates through DesktopWindows. Windows of the original Window class will not be accessed.