Path: utzoo!attcan!uunet!husc6!cmcl2!vx2!spector From: spector@vx2.NYU.EDU (David HM Spector) Newsgroups: comp.sys.mac.programmer Subject: Re: Highlight "OK" buttons Message-ID: <6860025@vx2.NYU.EDU> Date: 7 Sep 88 15:59:00 GMT References: <3316@homxc.UUCP> Organization: New York University Lines: 20 Nope, you have to do it yourself. The way I usually do it, is to make the usual "default" button the one that gets "clicked on" by the dialog manager when the user presses Return or Enter (i.e., make it the first button item), and then do a FrameRoundRect of your button's bounds rect with set line thickness ~3... you call your doButtonHiLite routine before you put up the dialog for the user to see (!!remember to SetPort to your dialog first!!), and the call modladialog or whatever... ...hope that helps a little... _DHMS ------------------------------------------------------------------------------- David HM Spector New York University Senior Systems Programmer Graduate School of Business ARPAnet: SPECTOR@GBA.NYU.EDU Academic Computing Center USEnet:...!{allegra,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4 HamRadio: N2BCA MCIMail: DSpector New York, New York 10006 AppleLink: D1161 CompuServe: 71260,1410 (212) 285-6080 "What computer puts out work like this?" "Hire us and we'll tell you."