Xref: utzoo comp.windows.ms:10301 comp.windows.ms.programmer:1331 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!uupsi!cci632!ritcsh!ultb!cms2839 From: cms2839@isc.rit.edu (a.stranger) Newsgroups: comp.windows.ms,comp.windows.ms.programmer Subject: Re: fonts on buttons Message-ID: <1991Mar12.230333.10131@isc.rit.edu> Date: 12 Mar 91 23:03:33 GMT References: <1991Mar10.011755.27922@macc.wisc.edu> <1991Mar11.184336.5874@cec1.wustl.edu> Organization: RIoT Lines: 17 In article <1991Mar11.184336.5874@cec1.wustl.edu> dave@wucs1.wustl.edu (David T Mitchell III) writes: >How do I set the font for a child window (non-dialog box)? > >For instance, I have a window that's got Helv 8pt type in >it, and I'd like to make the pushbuttons 8pt as well. > i don't think that you can do this directly , but you could make a bitmap of the word that you need on the button in the correct typeface , and then use a button of class owner draw to display it . -- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ "Imagination keeps the shadows away - Xymox @ @~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@ @ a.stranger - CMS2839@ritvax.isc.rit.edu @