home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sgiblab!adagio.panasonic.com!chorus.mei!oskgate0.mei!icspub!wnoc-kyo!hiroshima-u!grape!humpty!humpty!sumi
- From: sumi@cuby.mis.hiroshima-u.ac.jp (SUMIYA Takahiro)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Default buttons in dialogs (R)
- Message-ID: <SUMI.93Jan7164523@cuby.mis.hiroshima-u.ac.jp>
- Date: 7 Jan 93 07:45:23 GMT
- References: <1993Jan7.053958.18390@cc.umontreal.ca>
- Sender: news@humpty.mis.hiroshima-u.ac.jp
- Organization: Dept. of Integrate Arts and Sciences, Hiroshima University
- Lines: 24
- In-Reply-To: casgrain@ERE.UMontreal.CA's message of 7 Jan 93 14:39:58 JST
- Nntp-Posting-Host: cuby
-
- In article <1993Jan7.053958.18390@cc.umontreal.ca>
- casgrain@ERE.UMontreal.CA (Casgrain Philippe) 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?
- |>
- |The #1 button is drawn with a heavy outline only in alert boxes. If you want
- |to implement that behaviour in a dialog box, you have two options:
-
- You have another option.
-
- 3) There is a CDEF called 'default CDEF'. Once you paste this CDEF in
- your project resource file, the button which title ends with '@' (eg.
- OK@) is drawn with heavy outline. It's very easy and convenient, so
- I always use it.
-
- I miss the BinHex file originally distributed, but I'm sure it's
- freeware. If you cannot find the file, I will send it via e-mail.
- (3,378 byte in BinHex)
- --
-
-
- Takahiro Sumiya (sumi@cuby.mis.hiroshima-u.ac.jp)
-