🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #40296

Re: Window with no menu bar?

#40296
From: Leonard Rosenthol
Date: Mon, 03 Apr 1989 16:43
20 lines
1432 bytes
In article <11208@well.UUCP>, svc@well.UUCP (Leonard Rosenthol) writes:
> In article <3867@emory.mathcs.emory.edu>, phssra@mathcs.emory.edu (Scott R. Anderson) writes:
> > In article <2214@helios.ee.lbl.gov> beard@ux3.lbl.gov (Patrick C Beard) writes:
> >> [Previous discussion about FullScreen Dialogs (ie. cover the menu bar)
> >>
> [Suggestions of how to do it by killing the MenuBar]
>
	There is one other solution which is MUCH cleaner, and is probably a
better way to do it.  There is this neat thing called the WindowMgrPort (you
can get it using the GetWMgrPort(VAR wPort:GrafPtr) call ($A910)) which is a
GrafPort which covers the entire desktop (including multiple monitors).  You can
then make a copy of the WMgrPort (NEVER draw into the real WMgrPort!) and then
draw into the new copy whose origin is at 0,0 (so over the menuBar).
	

-- 
+--------------------------------------------------+
Leonard Rosenthol        |  GEnie : MACgician
Lazerware, inc.          |  MacNet: MACgician
UUCP: svc@well.UUCP      |  ALink : D0025
Technical Details
Message-ID: <11224@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!svc
References: <15866@cup.portal.com> <2214@helios.ee.lbl.gov> <11208@well.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!well!svc
From: svc@well.UUCP (Leonard Rosenthol)
Newsgroups: comp.sys.mac
Subject: Re: Window with no menu bar?
Summary: A couple of notes
Message-ID: <11224@well.UUCP>
Date: 3 Apr 89 16:43:28 GMT
References: <15866@cup.portal.com> <2214@helios.ee.lbl.gov> <11208@well.UUCP>
Distribution: usa
Lines: 20