How do you take a window's DC and copy it (and it's contents) to another
compatible DC? I want to take a window and take it's UI contents and put it
in another compatible DC and then blt it out somewhere else on the screen.
The following is my guess on how to do this, but it doesn't work when I
bltblt the newDC out.
// Get the current window position
//get dc of window (not client, but window)
CDC* pDC = pWnd->GetDCEx(NULL, DCX_WINDOW|DCX_CACHE);
//create a compatible DC and cache the windows contents
Thanks in advance.
Active Voice Corporation