Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!timbuk!cs.umn.edu!kksys!wd0gol!newave!john From: john@newave.UUCP (John A. Weeks III) Newsgroups: comp.sys.mac.programmer Subject: Re: Getting Rid of the Menu Bar (again!) Message-ID: <614@newave.UUCP> Date: 24 Jan 91 01:08:39 GMT References: <91021.231449CXT105@psuvm.psu.edu> Reply-To: john@newave.mn.org (John A. Weeks III) Organization: NeWave Communications Ltd, Eden Prairie, MN Lines: 28 In article <91021.231449CXT105@psuvm.psu.edu> CXT105@psuvm.psu.edu (Christopher Tate) writes: > How do I make the menu bar go away, so that I can draw where it usually > sits? Specifically, I want to open a window the size of the screen, and > obscure the menu bar with it. The "Macintosh Programming Primer" volume 1 tells you how to do this. Basically, you just set a global variable called MBarHeight to zero, then join a region covering the menu bar to an existing window. The book gives the exact details. > I'm writing a screen saver (yes, I know; > the last thing we need is *another* screen saver, but there are legal > reasons for this project), and the window has to be put up (and the menu > bar taken care of) from within a trap patch. You might want to consider writing a module for After Dark or Pyro rather than reinventing the wheel. In fact, you can make some types of specailized screen savers in After Dark without programming, such as slide shows, logos, messages, and password protection. -john- -- =============================================================================== John A. Weeks III (612) 942-6969 john@newave.mn.org NeWave Communications ...uunet!rosevax!tcnet!wd0gol!newave!john ===============================================================================