All Databases
Inside Mac - Basic Toolbox
GetMainDevice
NewGDevice
InitGDevice
SetGDevice
DisposGDevice
GetDeviceList
GetNextDevice
TestDeviceAttribute
GetMaxDevice
The 'scrn' Resource
Setting a Device's Pixel Depth
About Graphics Devices
GetMainDevice
can be used to show which device is listed as the monitor with
the menu bar.
GetMainDevice
gets this value from the
MainDevice
global
variable.
Returns:
a
GDHandle
; a handle to the
gDevice
that carries the menu bar.
Notes: Contains information on the size and depth of the
gDevice
of the
monitor containing the menu bar. Unless a different screen has been
called out in parameter RAM as the main device, this is the screen with
its video card in the lowest- numbered slot.
Referenced by (12):
Graphics Devices Manager (Inside Mac - Index)
Hunk Mgr, Word Sol'n (MacTech Vol 06-1990)
Rotten Apple (MacTech Vol 08-1992)
Apr 93 Tips, Tidbits (MacTech Vol 09-1993)
Color Animation (MacTech Vol 09-1993)
Color Basics (MacTech Vol 09-1993)
ColorMondrian (MacTech Vol 09-1993)
Sep 93 Challenge (MacTech Vol 09-1993)
Color Animation, Part II (MacTech Vol 10-1994)
Nov 98 Getting Started (MacTech Vol 14-1998)
Sep 98 Tips (MacTech Vol 14-1998)
March 94 - THE ZEN OF WINDOW ZOOMING (develop - 1994)