home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!ucbvax!ucdavis!hamlet.ucdavis.edu!fzstein
- From: fzstein@hamlet.ucdavis.edu (Dean Hickerson)
- Newsgroups: comp.sys.mac.programmer
- Subject: Floating windows
- Message-ID: <21228@ucdavis.ucdavis.edu>
- Date: 12 Jan 93 19:40:40 GMT
- Sender: usenet@ucdavis.ucdavis.edu
- Organization: UC Davis
- Lines: 18
- Originator: fzstein@hamlet.ucdavis.edu
-
- Some programs that I've used have certain windows which stay in front
- of another window, even when the other window is active. For example,
- in Canvas 3.0, there are 'floating palettes' displaying paint tools,
- object tools, etc. These palettes stay in front of the main document
- window, and can be dragged to any desired location. But the main
- window remains active; clicking in it does not make the palettes
- disappear.
-
- Similarly, in ResEdit 2.1, the ICON and cicn editors have floating
- palettes displaying patterns and colors, which behave in the same way.
-
- Can someone tell me how this is done or point me to some documentation
- of it? I want to do something similar in a program I'm writing, but
- can't figure out how. It appears to violate the Window Manager's
- assumption that only one window can be active at a time.
-
- Dean Hickerson
- drhickerson@ucdavis.edu
-