Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!caen!uflorida!haven!decuac!bacchus.pa.dec.com!shlump.nac.dec.com!mountn.dec.com!minow From: minow@mountn.dec.com (Martin Minow) Newsgroups: comp.sys.mac.programmer Subject: Re: Floating windows? Message-ID: <2036@mountn.dec.com> Date: 26 Nov 90 22:25:58 GMT References: <654@treehouse.UUCP> Reply-To: minow@mountn.UUCP (Martin Minow) Distribution: na Organization: Digital Equipment Corporation Lines: 21 hairston@henry.ece.cmu.edu (David Hairston) and [andyp@treehouse.UUCP (Andy Peterman) ask for code to create floating windows on the Mac. Two solutions: -- an article on floating windows was published in MacTutor a few years ago -- look in the collection volumes. You can extract the floating window source fairly easily. You'll have to put calls to the package here and there in your event loop. -- The Think C class library has a floating window class, making the problem pretty trivial to solve. I was able to get a floating "splash screen" working in a half hour. Look in the Art Class project's "about" function for an example. In both cases, the window is part of your application and will be hidden or covered by other applications. If you want do force a window on the screen at all times, you'll have problems (will it cover a modal dialog?) and shouldn't expect the program to work on future Mac os releases. Martin Minow minow@bolt.enet.dec.com