Platforms to show: All Mac Windows Linux Cross-Platform
CGSWindowListMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
class | CoreGraphics | MBS MacCG Plugin | 8.1 | Yes | No | No | Yes, macOS only | No |
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
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 which use this class:
Blog Entries
The items on this page are in the following plugins: MBS MacCG Plugin.
Links
MBS FileMaker blog