Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!snorkelwacker.mit.edu!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.sys.mac.programmer Subject: Re: File Icon location in the Finder Keywords: AppleTalk Message-ID: Date: 17 Mar 91 23:44:50 GMT References: <2859@sparko.gwu.edu> <1991Mar15.145457.278@bmers95.bnr.ca> Organization: University of Karlsruhe, FRG Lines: 21 In comp.sys.mac.programmer, article <1991Mar15.145457.278@bmers95.bnr.ca>, slang@bmerh563.bnr.ca (Steven Langlois) writes: < < I seem to be unable to control the location of a file icon. In particular < [...] < paramBlock.ioFlFndrInfo.fdLocation := location and then calling < PBSetFInfo to set the location of the icon to that of the original < file. This does not seem to work. Does anybody know what I am doing < wrong. < Yes. The Finder remembers whether it has seen the file, and hence whether the info about the location is believable. It's the "inited" bit. You probably should copy all of these bits along with the position. In fact you can safely copy the whole finder info, not just the location. -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/