Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CGSConnectionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreGraphics MBS MacCG Plugin 7.4 Yes No No Yes, macOS only No
Function: A class for a connection to the CoreGraphics System.
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

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.

Feedback, Comments & Corrections

This class has no sub classes.

Some properties using for this class:

Some examples which use this class:

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

CGRectMBS   -   CGScreenRefreshEventMBS

MBS FileMaker Plugins