XL7: Different Font Used in Excel Message Box in Nature Theme

Last reviewed: March 26, 1997
Article ID: Q140622
7.00 WINDOWS kbenv kbinterop kbdisplay

The information in this article applies to:

  • Microsoft Excel for Windows 95, version 7.0

SUMMARY

When the Microsoft Plus Pack "Nature" theme is being used, the font used for the message box text in Microsoft Excel is the default system font instead of the Nature theme message box font. This is by design in Microsoft Excel to ensure that message box text is displayed properly.

MORE INFORMATION

The use of a different font occurs because of the way Windows 95 reads a program's font assignments.

In Windows 95, when the system asks a program for the font face name to use for a dialog box, it supplies a buffer of only 20 characters. The Nature theme uses Copperplate Gothic Light, which is 24 characters long, as the message box font. In cases where the font name is larger than the buffer, Microsoft Excel uses the default system font instead. This ensures a proper display of the message box text.


KBCategory: kbenv kbinterop kbdisplay
KBSubcategory: xlwin
Additional reference words: 7.00 font system dialog
Keywords : xlwin kbdisplay kbenv kbinterop
Version : 7.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 26, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.