Assuming I would like to program a magnifier, how could I capture the content of the screen excluding my very own window ?
I know how to capture the screen with my own window using BitBlt and the Desktop DC.
And to make it clearer: I want to show the magnified content in my window.
Edit: It seems that there is no other solution than to hide my window (or the client area) one way or another before I can capture the screen content under my window. Apparently this causes my window to flicker which renders this scenario pretty useless.
During the capture process set the forms
AlphaBlendproperty to true and theAlphaBlendValueto 0. Be aware that this will make your form completely invisible.