PRB: Property Page Resized Under DBCS System (306597)
The information in this article applies to:
- Microsoft Visual Studio, Enterprise Edition 6.0
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.
REFERENCES
For more information, see the following Knowledge Base article:
152099 MFC Dialog Font Substitution Under DBCS System
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | kbDSXGlobal2003Swept kbDBCS kbFont kbLocalization kbNLS kbprb KB306597 |
---|
|