home *** CD-ROM | disk | FTP | other *** search
- 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
- From: mcmath@csb1.nlm.nih.gov (Chuck McMath)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Creating a floating palette in MacApp
- Message-ID: <mcmath-230792101551@mcmathmac.nlm.nih.gov>
- Date: 23 Jul 92 14:19:19 GMT
- References: <poon.711840774@roo>
- Sender: usenet@nlm.nih.gov (usenet news poster)
- Followup-To: comp.sys.mac.programmer
- Organization: MSD
- Lines: 30
-
- In article <poon.711840774@roo>, poon@parc.xerox.com (Alex Poon) wrote:
- >
- > I want to create a floating palette in MacApp, much like Hypercard's tools
- > window. I'd also like it to be resizable and scrollable. I've created
- > a palette view in MacApp as a subview of TGridView, but the window that
- > it's installed in becomes hidden when another window is activated
- > on top of it. I want the palette window to always be showing, and I don't
- > want any sense of it being activated or deactivated.
- >
- > Any suggestions?
- >
- > poon@parc.xerox.com
-
- Well, if you're using MacApp 3.0 you can easily create a floating window
- with your stuff in it. There are additions to 2.0 to add floating palette
- capabilities. The additions work; I've used them successfully in a program
- I wrote.
-
- You need to set up the appropriate flags using ViewEdit (right?) and the
- palette window needs to be a TFloatWindow (this is 3.0 I'm describing
- here).
-
- It's not that difficult.
-
- chuck
-
- |- chuck mcmath - mcmath@csb1.nlm.nih.gov - MSD, Inc. ------------|
- |- National Library of Medicine - National Institutes of Health --|
- |- Bethesda, MD 20894 ------------ C++ causes cancer -------------|
- |- "Hey batter, hey batter, hey batter, swing" - Anon. -----------|
-