Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!bbn!mesard@bbn.com From: mesard@bbn.com (Wayne Mesard) Newsgroups: comp.sys.mac.programmer Subject: SUMMARY: Customizing SFGetFile. Message-ID: <38158@bbn.COM> Date: 3 Apr 89 16:50:25 GMT Sender: news@bbn.COM Reply-To: mesard@BBN.COM (Wayne Mesard) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 27 Last week I asked in <37794@bbn.COM>: 1) [Why don't mouse hits get generated for controls which I add to SFGetFile's dialog in the firstTime block of my dialog hook? Should I just do it the way TN47 does?] 2) [Can I hack SFGetFile so that the user can shift-click and command-click in the file list?] W.r.t (1): The consensus was it can be done, but one must load the DITL before calling SFGetFile, because by the time the dialog hook gets its hands on it, the Dialog manager has already counted the number of items in it. TN47 is the wrong approach for the reasons that I mentioned. (Compatability with future changes to SFGetFile; and the principle of rebuilding Rome, just to add a new side street, as t'were.) (2): SFGetFile does not, in fact, use the list manager, and there's no way to get it to do what I want. Several people have written, or are writing, the next-best-thing: routines which accumulate a list of all the files clicked on, all the items in a folder, etc. into other windows (cf. StuffIt) or into a user item in the SFGetFile dialog. Thanks to all who responded. -- unsigned *Wayne_Mesard(); "Get that OUT of your signature file!" MESARD@BBN.COM -DB. BBN, Cambridge, MA