Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!milton!wiml From: wiml@milton.u.washington.edu (William Lewis) Newsgroups: comp.sys.next Subject: Re: How to obtain nifty nibs? Message-ID: <7326@milton.u.washington.edu> Date: 11 Sep 90 01:37:14 GMT References: <378@nwnexus.WA.COM> Organization: University of Washington, Seattle Lines: 21 In article <378@nwnexus.WA.COM> adonis1@nwnexus.WA.COM (Adonis Corporation ) writes: >I am building an app in which I would like to include controls >like the nifty scrolland select windows that so many apps use. >Workspace uses them to display files, using little arrow buttons >below to control scrolling. The OpenPanel uses the same technique. If I remember, the answer here is "you *can* use NeXT's library code to do this, but it's undocumented and thus won't work in later versions of the OS". Instead, you could look at an implementation I've seen on the archive sites as "BrowseableCell" (.shar.Z I think). If you drag its header file into your classes window and add the .[hm] to your project, you can change a CustomView in your .nib to be a BrowserBay (if I'm not mistaken). You can then do browserlike things with it via objective-C messages. From what little I've played with it, it looks a lot like the file browsers you see in the workspace. It's a pretty straightforward application of scrollviews and matrices ... -- wiml@milton.acs.washington.edu Seattle, Washington | No sig under (William Lewis) | 47 41' 15" N 122 42' 58" W |||||||| construction