Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!oddjob!hao!boulder!garth From: garth@sigi.Colorado.EDU (Garth Snyder) Newsgroups: comp.sys.mac Subject: Re: Drawing Lines in Dialogs Message-ID: <1533@sigi.Colorado.EDU> Date: Tue, 7-Jul-87 23:04:08 EDT Article-I.D.: sigi.1533 Posted: Tue Jul 7 23:04:08 1987 Date-Received: Fri, 10-Jul-87 07:22:37 EDT References: <1256@apple.UUCP> <6608@dartvax.UUCP> Reply-To: garth@boulder.Colorado.EDU (Garth Snyder) Organization: University of Colorado, Boulder Lines: 29 Keywords: drawing tricks dialogs Summary: It's easy, just use the numbering scheme! >In article <1256@apple.UUCP>, dowdy@apple.UUCP (Tom Dowdy) writes: >> Today I was working on a dialog that needed some standard Gray lines >> (horizontal and vertical) to separate portions of the dialog. >> >> [Tom Dowdy describes using PICT resources to do this] In article <6608@dartvax.UUCP> merchant@dartvax.UUCP (Peter Merchant) writes: >Recently I had to do the same thing and I came up with the same idea. The >problem is, it didn't work because it was in a Desk Accessory. It seems >that Font/DA Mover (at least the version I have...3.2, I think) added the >PICT resource but it didn't change the reference in the dialog box. I suppose >I could have still done it with a bit of code to figure out what the resource >number was and change the reference in the dialog box and then draw the dialog >box. There is a resource numbering convention for things like PICT's that are owned by other resources, in this case a DITL (which in turn is owned by a DLOG...). I forget the exact details but I do remember using it within the last year for exactly this purpose with no problems whatsoever. You must know about this already since you were able to get Font/DA-Mover to move the PICT into your system file - it is just a question of playing around a little bit until you find the magic formula. -------------------- Garth Snyder UUCP: {hao,nbires}!boulder!garth Univ. of CO @ Boulder ARPA: garth@boulder.colorado.edu Boulder, CO 80302 DES Terrorist Spy LSD Cocaine Contra --------------------