Platforms to show: All Mac Windows Linux Cross-Platform
CGSWindowListMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreGraphics | MBS MacCG Plugin | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Example:
dim c as new CGSConnectionMBS
dim list as CGSWindowListMBS = c.GetWindowList
dim names() as string
dim u as Integer = List.Count-1
for i as Integer = 0 to u
dim w as CGSWindowMBS = List.Item(i)
names.append w.Title
next
MsgBox str(List.Count)+" windows: "+Join(names, ", ")
- 4 properties
- property Connection as CGSConnectionMBS
- property ConnectionHandle as Integer
- property Count as Integer
- property Handle as Integer
- method Item(index as Integer) as CGSWindowMBS
- 2 shared methods
- shared method PreflightScreenCaptureAccess as Boolean New in 23.1
- shared method RequestScreenCaptureAccess as Boolean New in 23.1
This class has no sub classes.
Some methods using this class:
- CGSConnectionMBS.GetOnScreenWindowList as CGSWindowListMBS
- CGSConnectionMBS.GetOnScreenWindowListForProcess(PID as Integer) as CGSWindowListMBS
- CGSConnectionMBS.GetWindowList as CGSWindowListMBS
- CGSConnectionMBS.GetWindowListForProcess(PID as Integer) as CGSWindowListMBS
- CGSWorkspaceMBS.GetWorkspaceWindowList as CGSWindowListMBS
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 23.1pr3
- MBS Xojo / Real Studio Plugins, version 15.1pr1
- MonkeyBread Software Releases the MBS Plugins 8.1
The items on this page are in the following plugins: MBS MacCG Plugin.
