Skip to main content
gamedev.net
🔒 Locked

Window Bitmap

Started by CastorX Aug 26, 2006 at 4:35 PM 3 replies 700+ views
Original Post
CastorX
CastorX
Hello! I've got an HWND handle of my window (640*480). How can I create a copy of the contents of this window? I mean a big array of RGBA-RGBA-RGBA... data blocks? Bye
biscuitz
biscuitz
Create an array of memory dcs and hbitmaps and blit the window onto those, if you're using GDI.
biscuitz
biscuitz
Quote:
Original post by Anonymous Poster
Whatever you do, do NOT create an array of memory DC's!
- Rockoon (Joseph Koss)

Thanks for pointing that out. Just realized should extract data rather than generate a bunch of DCs.

Topic Locked

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

Sign in to reply to this topic.