Click to See Complete Forum and Search --> : Changing property sheet fonts


Jenn Tracy
March 31st, 1999, 04:10 PM
I am trying to get my project's Property Sheets to use the fonts that the individual pages are set to in the resource editor.


For localization purposes I must be able to do this.


MFC 4.0 and after force the Property Sheet page fonts to the system default font by design instead of using the font of the first page in the sheet (as it did BEFORE 4.0).


This is BY DESIGN. It doesn't make any sense to me. All it does is make for inconsistent font settings in a project that uses both dialogs and property sheets.


There is a sample that the MSDN help refers to called PRPFONT that is supposedly a work around. It doesn't work.


If anyone knows of a way THAT WORKS to change the Property Sheet font at run time to the font it's property pages are set to in the resource editor, I would greatly appreciate getting that information.


Many thanks,

Jenn Tracy

Software Engineer

ABT Corporation

jennifert@abtcorp.com