What is a robust method for capturing screen of child window in Windows 7?

Posted by Dogan Demir on Stack Overflow See other posts from Stack Overflow or by Dogan Demir
Published on 2010-01-28T20:58:09Z Indexed on 2010/03/31 0:23 UTC
Read the original article Hit count: 823

Pardon my frustration. I've asked about this in many places and I seriously don't think that there wouldn't be a way in Windows 7 SDK to accomplish this.

All I want, is to capture part of a 'child window' ( setParent() ) created by a parent. I used to do this with bitblt() but the catch is that the child window can be any type of application, and in my case has OpenGL running in a section of it. If I bitblt() that, then the OGL part comes blank, doesn't get written to the BMP.

DWM, particularly dwmRegisterThumbnail() doesn't allow thumbnail generation of child windows. So please give me a direction.

Thanks.

© Stack Overflow or respective owner

Related posts about windows-7

Related posts about winapi