home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12924 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.7 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!sun-barr!ames!haven.umd.edu!mimsy!lhc!mcmathmac.nlm.nih.gov!user
  2. From: mcmath@csb1.nlm.nih.gov (Chuck McMath)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Creating a floating palette in MacApp
  5. Message-ID: <mcmath-230792101551@mcmathmac.nlm.nih.gov>
  6. Date: 23 Jul 92 14:19:19 GMT
  7. References: <poon.711840774@roo>
  8. Sender: usenet@nlm.nih.gov (usenet news poster)
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: MSD
  11. Lines: 30
  12.  
  13. In article <poon.711840774@roo>, poon@parc.xerox.com (Alex Poon) wrote:
  14. > I want to create a floating palette in MacApp, much like Hypercard's tools
  15. > window.  I'd also like it to be resizable and scrollable.  I've created
  16. > a palette view in MacApp as a subview of TGridView, but the window that
  17. > it's installed in becomes hidden when another window is activated
  18. > on top of it.  I want the palette window to always be showing, and I don't
  19. > want any sense of it being activated or deactivated.
  20. > Any suggestions?
  21. > poon@parc.xerox.com
  22.  
  23. Well, if you're using MacApp 3.0 you can easily create a floating window
  24. with your stuff in it. There are additions to 2.0 to add floating palette
  25. capabilities.  The additions work; I've used them successfully in a program
  26. I wrote.
  27.  
  28. You need to set up the appropriate flags using ViewEdit (right?) and the
  29. palette window needs to be a TFloatWindow (this is 3.0 I'm describing
  30. here).
  31.  
  32. It's not that difficult.
  33.  
  34. chuck
  35.  
  36. |- chuck mcmath - mcmath@csb1.nlm.nih.gov - MSD, Inc. ------------|
  37. |- National Library of Medicine - National Institutes of Health --|
  38. |- Bethesda, MD 20894 ------------ C++ causes cancer -------------|
  39. |- "Hey batter, hey batter, hey batter, swing" - Anon. -----------|
  40.