C++ Programming
11-18-2011, 07:40 AM
Hi,
I'm trying to create a Windows application that needs to do the following:
-The application is comprised of only one dialog window that will render a bitmap.
-I would like this bitmap to be a screen capture of exactly what lies behind my ******** If I were to move the app window, the bitmap content would update according to what new content is behind it. In some sense the window would look like a hollow frame, although the content inside it would be altered somewhat.
I know that there are transparent window API's, and while that would let me "see" what lies behind, it wouldn't actually provide the copy of the pixels that I need to manipulate.
I'm pretty sure have that Windows keeps track of the non-active desktop space, including what lies behind the active ******** Does anyone know of an API call or a method that would allow me to get at this?
Anyone's help is appreciated. Thanks!
I'm trying to create a Windows application that needs to do the following:
-The application is comprised of only one dialog window that will render a bitmap.
-I would like this bitmap to be a screen capture of exactly what lies behind my ******** If I were to move the app window, the bitmap content would update according to what new content is behind it. In some sense the window would look like a hollow frame, although the content inside it would be altered somewhat.
I know that there are transparent window API's, and while that would let me "see" what lies behind, it wouldn't actually provide the copy of the pixels that I need to manipulate.
I'm pretty sure have that Windows keeps track of the non-active desktop space, including what lies behind the active ******** Does anyone know of an API call or a method that would allow me to get at this?
Anyone's help is appreciated. Thanks!