Results 1 to 1 of 1
Thread: Copy covered window (VB6/ .NET)
2006-12-02, 00:16 #1
- Join Date
- Nov 2001
- Melbourne, Victoria, Australia
- Thanked 0 Times in 0 Posts
Copy covered window (VB6/ .NET)
I'm trying to work out a method of getting a bitmap copy of a window that is partially covered. My theory (which may be flawed) is that I can get the window to redraw itself into a device context, using an approach similar to, for example, "Sex In The City" - about half way down vbAccelerator - Flicker Free API Drawing. The immediate limitation I see with this example is that CreateDC is geared to correspond to real devices, like a printer or the display. This seems to make copying the entire screen a "logical" process, but an individual window rather obscure.
If anyone can enlighten me on this, or suggest alternative methods, please reply.