Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!mcvax!sunic!sics.se!news From: lhe@sics.se (Lars-Henrik Eriksson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Visual effects, menubar, SysEnv-XFCN Message-ID: <1989Aug18.081241.1666@sics.se> Date: 18 Aug 89 08:12:59 GMT References: <1989Aug16.214948.8911@sics.se> Sender: lhe@sics.se (Lars-Henrik Eriksson) Reply-To: lhe@sics.se (Lars-Henrik Eriksson) Organization: Swedish Institute of Computer Science, Stockholm (Kista), Sweden Lines: 24 In-reply-to: ollef@sics.se (Olle Furberg) In article <1989Aug16.214948.8911@sics.se>, ollef@sics (Olle Furberg) writes: > > If you really must hide the menubar (for e.g. cosmetic reasons) check the >environment first: use the SysEnv-XFCN in the TN stack. In my case it gives >the following output: > >Macintosh Plus,6.0.2,Motorola 68000,false,false,Macintosh Plus keyboard,0,-32621 >1,B&W > > I haven't tried it on my IIx, but the first item tells you what sort of >Mac the stack is running on and the last two items tell you how much color >you have. > > If the first item of SysEnv() contains "II", you don't need to hide the >menubar. On a MacII, HC is just another window on the desktop. That has nothing at all to do with MacIIs. If the window is large enough, HC will use an ordinary window, even on a Mac SE, say. -- Lars-Henrik Eriksson Internet: lhe@sics.se Swedish Institute of Computer Science Phone (intn'l): +46 8 752 15 09 Box 1263 Telefon (nat'l): 08 - 752 15 09 S-164 28 KISTA, SWEDEN