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.