App Studio displays incorrect colors for bitmaps when you use Visual C++ (134420)



The information in this article applies to:

  • The Resource Editor, when used with:
    • Microsoft Visual C++ for Windows, 16-bit edition 1.0
    • Microsoft Visual C++ for Windows, 16-bit edition 1.5
    • Microsoft Visual C++ for Windows, 16-bit edition 1.51
    • Microsoft Visual C++ for Windows, 16-bit edition 1.52
    • Microsoft Visual C++, 32-bit Editions 1.0
    • Microsoft Visual C++, 32-bit Editions 2.0
    • Microsoft Visual C++, 32-bit Editions 2.1
    • Microsoft Visual C++, 32-bit Editions 2.2
    • Microsoft Visual C++, 32-bit Editions 4.0
    • Microsoft Visual C++, 32-bit Editions 4.1
    • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
    • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
    • Microsoft Visual C++, 32-bit Professional Edition 5.0
    • Microsoft Visual C++, 32-bit Professional Edition 6.0
    • Microsoft Visual C++, 32-bit Learning Edition 6.0
    • Microsoft Visual C++ .NET (2003)
    • Microsoft Visual C++ .NET (2002)
    • Microsoft Visual C++ 2005 Express Edition

This article was previously published under Q134420

SYMPTOMS

When you display or paint a bitmap in App Studio or the Resource Editor, the colors appear to be correct. However, if you close the bitmap and reopen it, some of the colors appear to be incorrect. For example, white may appear to be grey.

CAUSE

The most common reason for this error is the video driver, usually in 64K color mode.

RESOLUTION

Switch to the standard VGA driver that ships with Windows or use a color resolution if you need the bitmap to display correctly. You should also contact your video card manufacturer to get a newer version of the video driver if it is available.

Modification Type:MajorLast Reviewed:12/9/2005
Keywords:kbtshoot kbBitmap kbprb KB134420 kbAudDeveloper