Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: Scrolling Lists In Dialogs Message-ID: <14546@hoptoad.uucp> Date: 4 Jan 91 20:52:18 GMT References: <11139.2783D3CA@fidogate.FIDONET.ORG> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Electronics for Imaging, San Bruno CA Lines: 26 >> From: summer@atreides.trl.oz.au (Mark Summerfield) >> some AppleTalk networking features. Now I've looked at what >> I need to do with the AT manager, and *that* doesn't seem >> to be a major problem, however one of the things I am going >> to need is a dinky little scrolling dialog box showing all >> the other machines on the network providing my service (like >> the ones the chooser has for selecting zones and printers). >> >> What I want to know is: is there a standard way of easily >> implementing one of these things, or do you have to do >> everything yourself (run the control, scroll the list, >> check which item gets selected etc etc)? The standard file >> package does this for you for file selection. Is there >> something similar for AppleTalk, or for general lists of items? The Chooser will do this for you, if you're writing a Chooser device. See Inside Macintosh. If you want to do it oustide the Chooser, them yes, you need to do the user interface code yourself, but it's not hard with the List Manager if you already have a handle on the NBP calls to use. -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com "I am of the opinion that my life belongs to the whole community, and as long as I live it is my privilege to do for it whatever I can." -- Shaw