Path: utzoo!utgpu!water!watmath!clyde!ima!think!ephraim From: ephraim@think.COM (ephraim vishniac) Newsgroups: comp.sys.mac.programmer Subject: Re: How do you highlight a default button? Message-ID: <18694@think.UUCP> Date: 31 Mar 88 15:10:05 GMT References: <618@unioncs.UUCP> Sender: usenet@think.UUCP Reply-To: ephraim@vidar.think.com.UUCP (ephraim vishniac) Distribution: na Organization: Thinking Machines Corporation, Cambridge, MA Lines: 20 In article <618@unioncs.UUCP> brownh@unioncs.UUCP (H. Brown) writes: >Can someone tell me how to specify a DLOG or ALRT button to be a >highlighted default button (I have ResEdit v1.d4). According to Mac >Revealed 2 this is done automatically to if the button is first in the >item list, this is true except that it doesn't get highlighted. The first item in the DITL will be highlighted when an ALRT is drawn using the system call for alerts. There's no special treatment for the first DITL item under a DLOG. The highlighting is not there when the ALRT is drawn in ResEdit, because it's not really an alert - it's just a drawing of the DITL items. Ephraim Vishniac ephraim@think.com Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214 On two occasions I have been asked, "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?"