Platforms to show: All Mac Windows Linux Cross-Platform

CGSConnectionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A class for a connection to the CoreGraphics System.
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, ", ")

Requires Mac OS X 10.4.
All functions used by the CGS classes are private APIs, so Apple does not guarantee that they work in future Mac OS X versions.

This class has no sub classes.

Some properties using for this class:

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS MacCG Plugin.


CGRectMBS   -   CGScreenRefreshEventMBS


The biggest plugin in space...