[comp.windows.ms.programmer] Yet another question about dialog box

weiren@cs.mcgill.ca (Weiren DING) (02/10/91)

HI, there,

I meet another problem of dialog box. How can I chose font for the dialog
box? I choose it by using dialog editor of SDK. It works fine within 
dialog editor. But once I really use program to open a a dialog box, its
font size has been changed but not style. I doubt I need more font format
file to be installed.

Anyone out there has same experience?
Any help is much appreciated...

				Weiren

walasek@hpcc01.HP.COM (Arthur Walasek) (02/15/91)

/ hpcc01:comp.windows.ms.programmer / weiren@cs.mcgill.ca (Weiren DING) /  1:33 pm  Feb  9, 1991 /
HI, there,

> I meet another problem of dialog box. How can I chose font for the dialog
> box? I choose it by using dialog editor of SDK. It works fine within 
> dialog editor. But once I really use program to open a a dialog box, its
> font size has been changed but not style. I doubt I need more font format
> file to be installed.
> 
> Anyone out there has same experience?
> Any help is much appreciated...
> 
> Weiren
----------

I believe all you have to do is add a line like this to the .DLG file that
contains your dialog box...

FONT 8, "Helv"


I put this line between the DIALOG line and STYLE line of the dialog box
that I want to change the font of.