Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!cs.hut.fi!juh From: juh@cs.hut.fi (Juha Hyv|nen) Newsgroups: comp.sys.mac.system Subject: Re: Trash Can Location on Desktop - Changeable? Message-ID: Date: 9 May 91 09:22:06 GMT References: <1441@unixhub.SLAC.Stanford.EDU> Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology, Finland Lines: 48 In-Reply-To: LARRY@slacvm.slac.stanford.edu's message of 8 May 91 19:33:03 GMT In article <1441@unixhub.SLAC.Stanford.EDU> LARRY@slacvm.slac.stanford.edu (Larry ) writes: +------------------------ ! ! I've had requests from several people to move the trash to a location ! other than the lower right hand corner. Can this be done on a permanent ! basis using something like ResEdit? Or any other simple way? !........................ >From: freek@mel.fwi.uva.nl (Freek Wiedijk) >Subject: Re: Icon Loaction on Desktop >Date: 5 Aug 89 15:39:53 GMT > >The location of the Trash is relative to the lower-right corner of the >screen. The offset of the upper-left corner of the Trash icon with >respect to this point is stored in the last four bytes of CODE segment >number 3, that is the one called "Init". (I only looked at version 6.1 >of the Finder. I don't know about older versions.) > >More explicitely (on my SE): > y coordinate x coordinate > ============ ============ >lower-right corner of the screen: 342 = $0156 512 = $0200 >last four bytes of CODE resource 3: -58 = $FFC6 -56 = $FFC8 > ------------ + ------------ + >upper-left corner of Trash icon: 284 = $011C 456 = $01C8 > >Notice that both offsets are negative, and that the vertical offset is >stored first (because that is the proper order for Points). > >I hope this helps. Greetings, > >Freek "Digitalistengebroed" Wiedijk Path: uunet!fwi.uva.nl!freek >#P:+/ = #+/P?*+/ = i<<*+/P?*+/ = +/i<<**P?*+/ = +/(i<<*P?)*+/ = +/+/(i<<*P?)** > It works for me (system 6.0.5). / (.__o /_/ __/ .. ! / ! Juha Hyvonen !/ ) ! juh@cs.hut.fi ------