Microsoft KB Archive/329006

= CreateMappedBitmap and LoadMappedBitmap are unsuccessful with non-indexed bitmaps =

Article ID: 329006

Article Last Modified on 5/10/2006

-

APPLIES TO


 * Microsoft Platform Software Development Kit-January 2000 Edition

-



This article was previously published under Q329006



SYMPTOMS
When you try to use CreateMappedBitmap method and Microsoft Foundation Classes LoadMappedBitmap to load a resource bitmap that has more than 256 colors, neither method succeeds.



CAUSE
Neither CreateMappedBitmap nor LoadMappedBitmap is designed to work with bitmaps that do not use a color table.



RESOLUTION
If you want color remapping in noncolortable-based bitmaps, you have to code your own solution.



STATUS
This behavior is by design.

Keywords: kbdswgdi2003swept kbgdi kbprb KB329006

-

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

© Microsoft Corporation. All rights reserved.