Microsoft KB Archive/306597

= PRB: Property Page Resized Under DBCS System =

Article ID: 306597

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Visual Studio 6.0 Enterprise Edition

-



This article was previously published under Q306597



SYMPTOMS
When a Microsoft Foundation Classes (MFC) application with a property page is running under a double-byte character set (DBCS) Microsoft Windows operating system (including Simplified and Traditional Chinese, Japanese, and Korean), the property page font and dialog box size may be changed. Some of the controls of the property page and the page itself may not fit inside the property sheet.



CAUSE
The property page font is checked in MFC source code to make sure that it is the same as the property sheet font, which is the DBCS font that is obtained from the Windows common control dynamic-link library (DLL). If not, the property sheet font overwrites the property page font.



RESOLUTION
To work around the problem, resize the property page and the controls that are inside it. Users should avoid putting too many controls inside the property page.

For additional information on another possible workaround, click the article number below to view the article in the Microsoft Knowledge Base:

142170 PRPFONT - How to Set CPropertySheet Fonts



STATUS
This behavior is by design.



MORE INFORMATION
Some independent software vendors (ISVs) ship products in English globally without localization, so it is highly recommended that these applications be fully tested on DBCS platforms before they are shipped to make sure the property page fits well in the property sheet.

