Resource Bitmaps Are Read-Only in Windows CELast reviewed: May 13, 1997Article ID: Q168258 |
The information in this article applies to:
SYMPTOMSResource bitmaps, usually loaded with a call to LoadBitmap(), are read- only in Windows CE. This means that if such a bitmap is selected into a memory DC, subsequent drawing functions on that DC fail.
RESOLUTIONTo work around this issue, create a second bitmap with a call to CreateCompatibleBitmap() and then BitBlt() the contents of the resource bitmap onto the second bitmap. The second bitmap should be suitable for use with the drawing functions.
STATUSThis behavior is by design.
|
Additional query words: 1.00 resource LoadImage DIBSection gdibmp
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |