Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!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.misc Subject: Re: Position of Trash Can Message-ID: Date: 17 Sep 90 07:54:55 GMT References: <7568@star.cs.vu.nl> Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology, Finland Lines: 47 In-Reply-To: robol@cs.vu.nl's message of 14 Sep 90 13:32:43 GMT In article <7568@star.cs.vu.nl> robol@cs.vu.nl (Rob Laan) writes: +----------- ! On large screen dragging a file to the Trash Can in the bottom right ! corner of the screen can be quite a drag. I would like to have the ! Trash Can somewhere in the mid-top area of the screen. ! Of course I can drag the Trash Can to this position every time after ! startup, ! but it would be nice if I could somehow redefine the startup position of ! the Trash Can. !........... The following was posted to USENET last year. Try it at your own risk, of course... >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?)** > / (.__o .. /_/ __/ Juha Hyvonen ! / ! !/ ) ! juh@cs.hut.fi ------