Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!gatech!ncar!tank!nucsrl!bob From: bob@eecs.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing the Font of Dialog Items Message-ID: <10050037@eecs.nwu.edu> Date: 25 Oct 88 13:24:20 GMT References: <261fordjm@byuvax.bitnet> Organization: Northwestern U, Evanston IL, USA Lines: 16 > I need to design a rather "crowded" dialog box to allow editing of a > number of pieces of information which must all be present at the same > time. Is there an easy way to change the font in which dialog items > (checkboxes, static and editable text) are displayed? I would like to > get extra space by using geneva 9, but I would also like to use the > dialog item handling functions, etc. You can easily set the font and size for static text and editable text items, but changing the font for controls takes more work, and usually isn't worth it. (You'll find that the buttons don't look quite like buttons, etc. Things the users will notice). After getting the dialogPtr, set the font and size using quickdraw calls, treating the dialogPtr as a grafPtr, which it is. Do this before the drawing takes place, i.e. before the first update event. Bob Hablutzel BOB@NUACC.ACNS.NWU.EDU