Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!csus.edu!ucdavis!iris!lim From: lim@iris.ucdavis.edu (Lloyd Lim) Newsgroups: comp.sys.mac.programmer Subject: Re: Controls and Dialogs Keywords: Control Manager, Dialog Manager Message-ID: <8362@ucdavis.ucdavis.edu> Date: 13 Feb 91 07:10:36 GMT References: <4138@cernvax.cern.ch> Sender: usenet@ucdavis.ucdavis.edu Reply-To: lim@iris.ucdavis.edu (Lloyd Lim) Distribution: comp Organization: U.C. Davis - Department of Electrical Engineering and Computer Science Lines: 17 In article <4138@cernvax.cern.ch> marty@cernvax.cern.ch (hugues marty) writes: >1. I you want to set the font of a standard button to the window font, > you must add 8 to the var code. But is there a way of having such > a standard control in a DITL without having a CNTL resource ? > I guess that the DITL does not contain the variation code so > such a thing is not possible, but who knows? Warning, plug coming. If you use the Default CDEF you can set a button to use the window font by adding a curly f to the end of the button title. This lets you actually see what the dialog will look like in ResEdit and edit it there. You can also change between the window font and the system font on the fly by changing the button title. (Disclaimer - I wrote it.) +++ Lloyd Lim Internet: lim@iris.eecs.ucdavis.edu Compuserve: 72647,660 US Mail: 215 Lysle Leach Hall, U.C. Davis, Davis, CA 95616