Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: menu bar Keywords: masking menu bar Message-ID: <7576@hoptoad.uucp> Date: 7 Jun 89 18:25:54 GMT References: <2832@skivs.UUCP> <479@vx2.GBA.NYU.EDU> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Distribution: usa Organization: Eclectic Software, San Francisco Lines: 26 In article <2832@skivs.UUCP> choi@skivs.UUCP (Al Choi) writes: > I was wondering if anybody could help me in trying to mask the menu bar. > If it is possible, I would like to display an image over the menu bar. In article <479@vx2.GBA.NYU.EDU> spector@vx2.UUCP (Alexis Rosen) writes: >How about just doing SetMBarHeight(0) (or whatever the trap is called- look >in IM-IV or IM-V)? This should get rid of the menubar entirely, and allow >you to use that part of the screen for a regular window. Just remember to >fix the menubar before you switch out (in MultiFinder). There's no such trap. There is a low-memory global called MBarHeight. Like all system low-memory globals, you should avoid writing to it; Inside Mac v5 allows it to be written only by menu bar definition procedures, and only to be set to a value larger than the size of the system font. Despite the fact that it's so commonly done, overwriting the menu bar is a violation of the Mac user interface guidelines and should be avoided. -- Tim Maroney, Consultant, Eclectic Software, sun!hoptoad!tim "Now hear a plain fact: Swedenborg has not written one new truth: Now hear another: he has written all the old falshoods. And now hear the reason. He conversed with Angels who are all religious, & conversed not with Devils who all hate religion..." - Blake, "The Marriage of Heaven and Hell"