[Win32API] Creating HBITMAP

Started by
1 comment, last by frca 17 years, 2 months ago
Hello, How to "LoadImage" from memory for use with DrawState function? Or how to make HBITMAP received from CreateBitmap "compatible" (to make it possible to pass it to the DrawState function)? Thank you, typek Edit: I think the resulting HBITMAP should be compatible with certain HDC. [Edited by - typek on January 28, 2007 11:23:14 AM]
Advertisement
Maybe use the DST_BITMAP flag? DrawState
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Quote:Original post by LessBread
Maybe use the DST_BITMAP flag? DrawState


When I use the LoadImage function to read the bitmap from file, DrawState works.

This topic is closed to new replies.

Advertisement