[PYTHONMAC-SIG] How do I create a fullscreen window?

Just van Rossum just@knoware.nl
Sat, 25 Jan 1997 18:25:03 +0100


At 11:10 PM 1/17/97, Michael Pruemm wrote:
>>In message <9701122236.AA17677=jack@snelboot.cwi.nl>you write:
>>i would recommend you pick up a copy of the book
>>"tricks of the mac game programming gurus" which i found
>>full of useful snippets such as what you're asking for.
>>
>>this fragment is from there:
>>
>>  Rect windowRectangle, myScreenBoundsRect, myGameSize;
>>
>>  myScreenBoundsRect = (**GetMainDevice()).gdRect;
>
>Unfortunately, this rectangle covers only the main screen (the one with the
>menubar on it). It won't work on a machine with more than one monitor (such
>as mine :-)

And mine :-)

I still don't know how to get individual rectangles from euch monitor, but this
might be enough:
GetGrayRgn() returns a region covering _all_ monitors, so I suppose you
could just
take the bounds of that region.

Just



_______________
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
_______________