Platforms to show: All Mac Windows Linux Cross-Platform
WindowsListMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Windows | MBS Win Plugin | 8.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
To find all processes on Mac, use the ProcessMBS class.
To find all windows on Mac OS X, use the CGSWindowListMBS class.
- 6 properties
- property CurrentProcessID as Integer
- property CurrentThreadID as Integer
- property DesktopWindowHandle as Integer
- property ForegroundWindowHandle as Integer
- property ParentWindowHandle as Integer
- property WindowCount as Integer
- 19 methods
- method ActivateWindow(index as integer)
- method Constructor
- method Constructor(win as DesktopWindow)
- method Constructor(win as window)
- method Constructor(WindowHandle as Integer)
- method Update
- method WindowClassName(index as Integer) as string
- method WindowHandle(index as Integer) as Integer
- method WindowHeight(index as Integer) as Integer
- method WindowIconic(index as Integer) as boolean
- method WindowImageFileName(index as Integer) as string
- method WindowLeft(index as Integer) as Integer
- method WindowProcessID(index as Integer) as Integer
- method WindowText(index as Integer) as string
- method WindowThreadHandle(index as Integer) as Integer
- method WindowTop(index as Integer) as Integer
- method WindowVisible(index as Integer) as boolean
- method WindowWidth(index as Integer) as Integer
- method WindowZoomed(index as Integer) as boolean
- 4 shared methods
- shared method Focus as Integer
- shared method ForegroundWindow as Integer
- shared method WindowClassNameFromHandle(Handle as Integer) as String
- shared method WindowTextFromHandle(Handle as Integer) as String
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 19.2pr1
- SetFrontMost for Windows
- MBS Xojo / Real Studio Plugins, version 16.4pr1
Release notes
- Version 19.2
- Added WindowsListMBS.ActivateWindow and window.ActivateWindowMBS methods for Windows to bring a window to front.
The items on this page are in the following plugins: MBS Win Plugin.
WindowsKeyFilterMBS - WindowsLocationExceptionMBS