Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!pt!k.cs.cmu.edu!gjs From: gjs@k.cs.cmu.edu (Gregory Stein) Newsgroups: comp.sys.mac Subject: Re: Window Manager problem Message-ID: <1181@k.cs.cmu.edu> Date: Tue, 14-Jul-87 03:11:42 EDT Article-I.D.: k.1181 Posted: Tue Jul 14 03:11:42 1987 Date-Received: Wed, 15-Jul-87 04:22:52 EDT References: <225@uvabick.UUCP> Organization: Carnegie-Mellon University, CS/RI Lines: 22 Summary: Palettes on the Mac I have implemented a palette with LSC. I found that keeping the window in the BACK rather than the front is painless and avoids many of the problems of trying to hide it in the front. The Toolbox has nothing against handling clicks in windows that aren't in the front. Just keep everything the same, but don't do a SelectWindow on the palette's window when you click in it. Also, since you'll probably be using a plain dialog box for the palette, you won't have worry about any hiliting effects. The code, depending on what it has to do, should not run you more than 100 lines, tops. To make it nice and flexible, you might want to read a list of PICT resources and position information from your resource file. --------- Greg Stein ARPA: gjs@k.cs.cmu.edu "There can be only one" -- from the movie, "The Highlander"