CGSConnectionMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem