home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!sainaney
- From: sainaney@unixg.ubc.ca (Narayan R. Sainaney)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Default buttons in dialogs
- Date: 7 Jan 1993 20:25:41 GMT
- Organization: University of British Columbia, Vancouver, B.C., Canada
- Lines: 15
- Sender: sainaney@unixg.ubc.ca
- Distribution: world
- Message-ID: <1ii3k5INNk3h@skeena.ucs.ubc.ca>
- References: <880840m.29.726366713@axe.acadiau.ca>
- NNTP-Posting-Host: unixg.ubc.ca
-
- In article <880840m.29.726366713@axe.acadiau.ca> 880840m@axe.acadiau.ca (MICHAEL ALEXANDER MCKAY) writes:
- >
- >Whenever I make a dialog box with ResEdit, my "OK" buttons, which are always
- >the number 1 button, fail to show up in my app with the heavy outline around
- >them. What am I doing wrong?
- >
- >
-
- You have to use QuickDraw calls to draw that round rect around
- your default button. Set PenSize to (3,3) and use FrameRoundRect(?? or some
- routine like that =). Use GetDItem to get the items rect.
-
- hope this helps...
- sainaney@unixg.ubc.ca
-
-