Non capturable window using Qt



  • Hi guys, I am new to Qt. I have a library(Windows platform) that captures the desktop screen. I want a window which does not get captured by my screen capture library. I've tried using LAYERED_WINDOW approach in Windows but it works under restrictive conditions only.

    So is there any property to be set on Qt window or any api to do so, plz mention here.

    Any new ideas/suggestions are welcome.

    Thank you.



  • Hard to make sensible suggestions without knowing which capture library you are talking about, and how it works.



  • We use our own library. We use BitBlt to capture desktop window. Anything else you'd like to know?



  • In that case, you have no chance to capture anything but what you see on the desktop window, AFAIK. The information on partially obscured windows simply isn't there by the time you capture.

    Your best bet is to hide the window, run the event loop, then capture, then re-show it. It will flicker, but it should work.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.