How to get StdPicture object from PrintWindow API

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I need to be able to copy the screen image of a window which may be
partly or completely obscured. The PrintWindow API seems to do the
trick here. However I also need to be able to get that image as a
StdPicture object. The aforementioned API simply copies the window's
image (not just the screen contents at the windows coordinates) into a
provided device context. So how can I get that device context to
place its image in a StdPicture object?

Can anyone suggest how this might be done?

Thanks
Steve

.



Relevant Pages

  • Getting VGA output of one computer to appear in window on another computers desktop
    ... window in Techsmith's Camtasia screen capture software. ... screen image through a $75 scan converter device and into the S-video ... input of my ATI All-in-Wonder TV tuner card in my primary computer. ... What if I just ditch the whole scan converter/TV tuner card setup? ...
    (rec.video.desktop)
  • Re: Issue with WM_PAINT in XP vs Vista
    ... when you register your window class, ... bitmap to restore the screen image, ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Installed XP but can only see half of window
    ... > "REALLY SICK OF TRYING TO SEND MAIL BY 6" ... >> rest of the window. ... > Use the controls on the monitor to resize or move the screen image. ... > Protect your PC ...
    (microsoft.public.windowsxp.newusers)
  • Hotkey/other shortcut for quick window size/location?
    ... for web browsing. ... except that the on screen image is cropped ... each open window, but this is a bit tedious, plus each subsequent open ... window "cascades" a bit to the lower right. ...
    (microsoft.public.windowsxp.general)
  • Re: What Linux lacks : better in-kernel user interface
    ... >> You're obviously not a GUI programmer. ... > into video RAM once all drawing is complete (to avoid the unstable ... > screen image you get if you draw directly into video RAM while the ... If a window is obscured, ...
    (comp.os.linux.development.system)