home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21303 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.2 KB

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