home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20917 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.0 KB

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