Path: 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 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