Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

[Win32API] Creating HBITMAP

Started by frca Jan 27, 2007 at 6:03 PM 1 replies 900+ views
Original Post
frca
frca
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]
LessBread
LessBread
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
frca
frca
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.