Prev: Overloaded constructor issues in MFC Dialogs
Next: show Image with CImage - Debug assertion failed
From: Woody on 17 Feb 2010 04:07 On Feb 16, 5:41 am, JY <s...(a)nospamgroup.com> wrote: > The font size does increase but not consistently. For example, if I > increase the font hieght by 10, it actually shows a smaller size than the > original. I am guessing you dialog (assume this is what your control is contained in) is using a font that is not available in all sizes, so that when you create or set the font the "best fit" font is chosen. To test this, try creating a font by specifying all the parameters (CreatePointFont is pretty easy to use), and use a TrueType typeface (such as Times New Roman). Be careful to use the correct units for the font size when you create the font.
First
|
Prev
|
Pages: 1 2 Prev: Overloaded constructor issues in MFC Dialogs Next: show Image with CImage - Debug assertion failed |