Microsoft KB Archive/283055

= Text and Buttons in Dialog Boxes May Be Incorrectly Formatted =

Article ID: 283055

Article Last Modified on 1/15/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q283055





SYMPTOMS
When you run a program that is localized for a different locale than the user interface (UI) locale of your computer, one or more of the following symptoms may occur:
 * Dialog boxes may be incorrectly formatted.
 * Buttons on dialog boxes may be partially or completely obstructed from view.

For example, if you configure the UI locale on your computer as U.S. English, when you run a Japanese non-Unicode program on this computer, this issue may occur.



CAUSE
This issue can occur because shared control libraries such as Comctl32.dll take the UI locale into account when they read the properties of common control dialog boxes. Typically, there is a 1-point difference in font size between Far East (9 point) and non-Far East (8 point) common dialog boxes. This difference is large enough to cause unpredictable results when common dialog boxes are formatted on computers that are localized for a different locale than the program.



RESOLUTION
To resolve this issue in multiple language versions of Windows XP, set your UI locale to match the locale of the program when you use that program.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
This problem is specific to American National Standards Institute (ANSI) code paths; programs that fully support Unicode do not experience this issue.

Additional query words: mui Comctl32 dll

Keywords: kbenv kbui kbprb KB283055

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.