Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!scott From: scott@Apple.COM (scott douglass) Newsgroups: comp.sys.mac.programmer Subject: Re: Chooser Interface Problem (kind of long) Keywords: Chooser RDEV Message-ID: <32357@apple.Apple.COM> Date: 11 Jun 89 06:13:04 GMT References: <2094@oakhill.UUCP> <40981@bbn.COM> Distribution: usa Organization: Apple Computer Inc, Cupertino, CA Lines: 33 In article <40981@bbn.COM> tappan@BBN.COM (Dan Tappan) writes: -In article <2094@oakhill.UUCP> tomj@oakhill.UUCP (Tom Johnson) writes: ->I'm having a little problem writing an RDEV. -> ... ->The Problem: -> Regardless of the setting of the flags long word, the code NEVER receives ->a "fillList" message as per IM-IV p.220, and ALWAYS receives a getSel msg! - -What you may be running into is that the Chooser caches the flag settings from -RDEV's. There is a resource in the system file called 'clst'. - -The effect of this is that if you built your RDEV the first time without that -bit set then forever afterword the Chooser will ignore your new setting. The use of "forever" is a bit strong. The Chooser (and similarly Control Panel) does cache some information (including, in the Chooser case, the 'PACK' flags). The cache is validated by file creation date. If you replace the file with a freshly created one the Chooser will see the new flags. There is also a way to force the cache to be rebuilt (just for all you RDEVers out there). If you hold down cmd and option together while opening the Chooser (or Control Panel) it will beep (to let you know you can let go now) and rebuild the cache from scratch. I hope this helps, --scott douglass Any opinions above may be mine and are not necessarily those of Apple Computer. domain: scott@apple.com UUCP: {nsc, sun, voder, well, dual}!apple!scott CSNet: scott@Apple.CSNet AppleLink: Douglass1 --scott douglass Any opinions above may be mine and are not necessarily those of Apple Computer. domain: scott@apple.com UUCP: {nsc, sun, voder, well, dual}!apple!scott CSNet: scott@Apple.CSNet AppleLink: Douglass1