Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!midway.uchicago.edu!francis From: francis@zaphod.uchicago.edu (Francis Stracke) Newsgroups: comp.sys.mac.programmer Subject: Re: HELP : how to change the systemFont font in BUTTONS ? Message-ID: Date: 20 Jun 91 21:29:27 GMT References: <22843@imag.imag.fr> Sender: news@midway.uchicago.edu (NewsMistress) Organization: Mathematics Department, University of Chicago Lines: 22 In-Reply-To: neeri@iis.ethz.ch's message of 20 Jun 91 11: 35:21 GMT In article neeri@iis.ethz.ch (Matthias Ulrich Neeracher) writes: >In article <22843@imag.imag.fr> iron@imag.imag.fr (Francois Menneteau) writes: >>I know SetDaFont() works for editText and staticText, but not for buttons... >CDEF 0 will use the window font instead if you add some constant that I believe >to be 8 to the variation code. So, a push button using the window font would >be 8. Unfortunately (Or was this fortunately :-), you need CNTL resources to use >this in dialogs. If you're using the Default CDEF posted here recently, you can add the funky f to the end of the name (I think it was the end) & have the button title show up in the window font; this works without using the CNTL resources. -- /============================================================================\ | Francis Stracke | My opinions are my own. I don't steal them.| | Department of Mathematics |=============================================| | University of Chicago | What do you get if you multiply 6 by 9? | | francis@zaphod.uchicago.edu | --Ultimate Question | \============================================================================/