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

  1. Path: sparky!uunet!olivea!spool.mu.edu!sgiblab!adagio.panasonic.com!chorus.mei!oskgate0.mei!icspub!wnoc-kyo!hiroshima-u!grape!humpty!humpty!sumi
  2. From: sumi@cuby.mis.hiroshima-u.ac.jp (SUMIYA Takahiro)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Default buttons in dialogs (R)
  5. Message-ID: <SUMI.93Jan7164523@cuby.mis.hiroshima-u.ac.jp>
  6. Date: 7 Jan 93 07:45:23 GMT
  7. References: <1993Jan7.053958.18390@cc.umontreal.ca>
  8. Sender: news@humpty.mis.hiroshima-u.ac.jp
  9. Organization: Dept. of Integrate Arts and Sciences, Hiroshima University
  10. Lines: 24
  11. In-Reply-To: casgrain@ERE.UMontreal.CA's message of 7 Jan 93 14:39:58 JST
  12. Nntp-Posting-Host: cuby
  13.  
  14. In article <1993Jan7.053958.18390@cc.umontreal.ca> 
  15. casgrain@ERE.UMontreal.CA (Casgrain Philippe) writes:
  16.  
  17.  |>Whenever I make a dialog box with ResEdit, my "OK" buttons, which are always
  18.  |>the number 1 button, fail to show up in my app with the heavy outline around
  19.  |>them. What am I doing wrong?
  20.  |>
  21.  |The #1 button is drawn with a heavy outline only in alert boxes.  If you want
  22.  |to implement that behaviour in a dialog box, you have two options:
  23.  
  24. You have another option.  
  25.  
  26. 3) There is a CDEF called 'default CDEF'.  Once you paste this CDEF in
  27. your project resource file, the button which title ends with '@' (eg. 
  28. OK@) is drawn with heavy outline.  It's very easy and convenient, so
  29. I always use it.
  30.  
  31. I miss the BinHex file originally distributed, but I'm sure it's
  32. freeware.  If you cannot find the file, I will send it via e-mail. 
  33. (3,378 byte in BinHex)
  34. --
  35.  
  36.  
  37.       Takahiro Sumiya (sumi@cuby.mis.hiroshima-u.ac.jp)
  38.