Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!ukc!etive!lfcs!nick From: nick@lfcs.ed.ac.uk (Nick Rothwell) Newsgroups: comp.sys.mac.programmer Subject: Rectangles in DITL's Message-ID: <2354@etive.ed.ac.uk> Date: 14 Jun 89 12:49:45 GMT Sender: news@etive.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk (Nick Rothwell) Organization: LFCS Enya Admiration Society Lines: 17 In-reply-to: bytebug@dhw68k.cts.com (Roger L. Long) Can somebody give a quick explanation of the Rect's in some of the dialog DITL's, in particular for CNTL dialog items (scroll-bars and the like, although I'm using custom CDEF's). The CNTL contains a rect, and the DITL item contains a rect as well. Which gets used? Can I safely set the other one to (0,0,0,0)? I've tried poking about with ResEdit, but it doesn't behave well with DITL's. Double-clicking such an item throws you straight into the CNTL. (well, quite often it throws you straight into the nearest bomb-box... :-< ) Nick. -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcvax!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ Fais que ton reve soit plus long que la nuit.