[comp.sys.mac.programmer] Question on multiple monitors

CXT105@psuvm.psu.edu (Christopher Tate) (02/01/91)

Say I want to open a port that covers *all* monitors currently active.  How
do I go about this?  If I want to erase the entire GrayRgn, what do I do?

Apparently, OpenPort() only sets up a GrafPort to cover the main screen.
Even calling PaintRgn(GrayRgn) only paints the main screen, not all
monitors.

If I want to (say) black out all monitors currently active, do I have to
walk the GDeviceList and do each one individually?  I'm beginning to think
that's what's required, but I was hoping for a more "elegant" solution,
such as simply painting the GrayRgn (which, as I said, doesn't seem to
work that way).

-------
Christopher Tate                   |
                                   |   Mathematics is skill in the use
cxt105@psuvm.psu.edu               |   of very small words.
{...}!psuvax1!psuvm.bitnet!cxt105  |
cxt105@psuvm.bitnet                |          -- Adrian Ocneanu