home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!psgrain!qiclab!baer
- From: baer@qiclab.scn.rain.com (Ken Baer)
- Subject: How do I keep small tools windows in front of Big work windows?
- Message-ID: <1992Aug30.000511.1110@qiclab.scn.rain.com>
- Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
- Date: Sun, 30 Aug 1992 00:05:11 GMT
- Lines: 20
-
- Here's the situation: my application has a large work area, with a fixed
- tools window above it, and several other tools windows that are draggable
- and sizable that are non-modal and pop up over the main window. The user
- frequently will click on the tools windows and the main work area (similar
- to a paint program). My problem is that when you click on the larger window
- it pops to the front and covers up the other windows. Since the Windows
- Manager talks directly to the Toolbox Manager, how can I intercept the
- ActivateWindow() my mouseclick generates? What I want to do is exactly
- what Studio8 or PhotoShop do when their tools windows are always in the
- front. BTW, I always open the tools windows after the main window. Also,
- I would prefer not to have to redraw the tools windows everytime I click
- in the main window.
-
- Any hints and code examples will be greatly appreciated.
- -Ken Baer.
- baer@qiclab.scn.rain.com
- --
- // -Ken Baer. Programmer/Animator, Hash Enterprises
- \X/ Usenet: baer@qiclab.UUCP / Office: (206)573-9427
- "Hey, I think a glacier just passed us!" - Andy from Joyride
-