PRB: Screen Saver Description Not Displayed in Windows 95

Last reviewed: September 29, 1995
Article ID: Q137250
The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API) included with:

        - Microsoft Windows 95 version 4.0
        - Microsoft Win32s version 1.3
    

SYMPTOMS

In Windows 95, when viewing the list of screen savers in the Display Properties dialog box, your screen saver is displayed with the file name instead of the description string.

CAUSE

Windows 95 is identifying the file name as being a long file name because after calling FindFirstFile, it compares the file name to the alternate file name with case sensitivity. If the case on the file names is different, it identifies the file name as a long file name. The alternate file name is always uppercase.

RESOLUTION

There are two solutions. The first and best is to name the file with a long file name that is identical to the description.

The second solution is to rename the file so that the case is the same. The case can be seen using an MS-DOS box. The first file name seen is the alternate file name and the second seen is the long file name. Use the MS-DOS box to rename the file to all uppercase.

NOTE: The descriptive text for screen savers is not taken from IDS_DESCRIPTION as stated in the documentation, but from the module name defined in the .def file. This should be in this form:

   SCRNSAVE:<decriptive text>

Everything after the colon will be included as the descriptive text.

STATUS

This behavior is by design.


Additional reference words: 1.30 4.00
KBCategory: kbui kbprb
KBSubcategory: UsrCtl W32s


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: September 29, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.