|
-
March 15th, 2009, 04:12 PM
#1
Draw window in Memory Device Context
Hi,
Does someone know about drawing a window in a Memory Device Context, I need this so I can then read pixels from a window that is behind other windows. I need this for windows XP, not Vista.
Thx in advance.
Last edited by seedplusplus; March 15th, 2009 at 04:14 PM.
-
March 15th, 2009, 06:06 PM
#2
Re: Draw window in Memory Device Context
If you want transparent windows you need a memory dc via CreateCompatibleDC
Also you need a bitmap via CreateCompatibleBitmap
You will also be using BitBlt to transfer the memory with a specific raster operation.
The idea is to blit the child rect into your bitmap then transparently blit it onto the top window.
Read about these functions and more at msdn.
But first master the forging skills of win32 you will.
http://www.winprog.org/tutorial/
Last edited by bitshifter420; March 15th, 2009 at 06:11 PM.
-
March 18th, 2009, 02:27 PM
#3
Re: Draw window in Memory Device Context
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|