Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!uakari.primate.wisc.edu!samsung!usc!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: On hiding HyC 2.0 under multifinder Summary: use "the suspended" property Message-ID: <47145@apple.Apple.COM> Date: 6 Dec 90 09:13:03 GMT References: <1990Dec5.154718.9314@trumpet.cit.cornell.edu> Distribution: comp Organization: Apple Computer Inc., Cupertino, CA Lines: 27 In article <1990Dec5.154718.9314@trumpet.cit.cornell.edu> chris@trumpet.cit.cornell.edu writes: >Under the old version of HyperCard while you were running in multifinder >on a 9" screen, when you went to another program, HyperCard hit itself so >you could actually see the other program. HyperCard 2.0 doesn't appear >to do this which is a pain when you have a small screen. Any suggestions >on this? The basic idea you need is "the suspended", a new 2.0 global property. Under 2.0, the suspended is set to true whenever HyperCard is in the background. A basic handler would be on idle if the suspended is true then hide card window else show card window end idle Of course, you may want to get fancier (take multiple windows into account, refrain from hiding if the right edge of the window is far enough over to expose the Finder's icon row, etc.). But this gives the general idea. -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |