Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!hayes.ims.alaska.edu!acad3.fai.alaska.edu!ftdkl From: ftdkl@acad3.fai.alaska.edu (LaSota Daniel K) Newsgroups: comp.sys.mac.hypercard Subject: Re: Show/Hide menubar question Message-ID: <1990Oct12.000852.18417@hayes.ims.alaska.edu> Date: 12 Oct 90 00:08:52 GMT References: <1990Oct11.193221.13578@midway.uchicago.edu> Sender: usenet@hayes.ims.alaska.edu (J Random USENET) Reply-To: ftdkl@acad3.fai.alaska.edu Organization: University of Alaska Fairbanks Lines: 32 News-Software: VAX/VMS VNEWS 1.3-4 Nntp-Posting-Host: acad3.fai.alaska.edu In article <1990Oct11.193221.13578@midway.uchicago.edu>, chh9@quads.uchicago.edu (Conrad Halton Halling) writes... >I have made a stack in which I hide the menubar in order to fit more things >onto each card when using the stack on an SE. On a Mac II, it isn't >necessary to hide the menubar (and in fact it looks a little strange since >the card is centered in the screen). Is there a way to determine when the >screen is larger than the standard SE size so I can hide the menubar on an >SE but not on a Mac II? > >If I were working in C, I know that I just need to get screenbits.bounds >to determine the size of the screen. Perhaps determining the size of the >screen for HyperCard can be done only using an XFCN? > >I've seen this question discussed here before, but I can't remember the >answer, and I can't find a clue in the help stacks. Since this is such a >trivial question, please just e-mail any help you can provide. Thanks. :-) > > >-- >Conrad Halling >chh9@midway.uchicago.edu You can use the screenRect function: as in: put the screenrect This will return four integers separated by commas These are the dimensions of the screen in which Hypercard's menu is drawn. If there is more than one monitor screenRect will return the dimensions of the monitor that the cardWindow is most in as offsets from 0,0 (close to the Apple in the menubar) Dan LaSota ftdkl@acad3.fai.alaska.edu