Fontsize problem in Property sheets
Manyam Khaja -- manyam@isoa-vision.com Thursday, March 06, 1997 Environment: VC++ 4.2-flat, NT 4.0 Hi all, Anybody help me with setting the font size for a property sheet ?? I am using the font 'System' with fontsize 10 for all of my property pages. But when the property sheet is created, font for all the pages is changed to the default 'MS sans Serif (8)' regardless of what I have in the dialog resource. Is there a way to change this behaviour ? I tried creating the property sheet both as a dialog and in a MDI child view. Result is the same. -Manyam
Sunit Katkar -- sunit@darkstar.tulbom.unisys.com Monday, March 10, 1997 > > Environment: VC++ 4.2-flat, NT 4.0 > > Hi all, > > Anybody help me with setting the font size for a property sheet ?? > > I am using the font 'System' with fontsize 10 for all of my property > pages. But when the property sheet is created, font for all the > pages is changed to the default 'MS sans Serif (8)' regardless of > what I have in the dialog resource. > > Is there a way to change this behaviour ? > > I tried creating the property sheet both as a dialog and in a > MDI child view. Result is the same. > > -Manyam > Hope I am not telling you what you may have already known or tried, but please visit the Microsoft Knowledge Base on their web-site. Go to the ARTICLE with ID : Q142170. "SAMPLE: PRPFONT - How to set the CPropertySheet Fonts" It was put up pretty recently 21 - Feb 1997, to be exact, so you may missed it. It should help you ! Regards Sunit Katkar ----------------------------------------------------------------------- Sunit Katkar, | Tel: (R) +91-22-620 2448 Sr. Software Engnr., | (O) +91-22-836 9319/20/21/22 Tata Infotech Ltd., | Fax: (O) +91-22-838 3585 SEEPZ, Andheri (East),| Email Address: Mumbai - 400096, | sunit@darkstar.tulbom.unisys.com (Office) INDIA | sonalik@giasbma.vsnl.net.in (Residence) ------------------------------------------------------------------------
Become an MFC-L member | Вернуться в корень Архива |