I need to take a screenshot but not usual - just exactly what i see on screen - with popups, playing video, mouse pointer which are not seen by usual "PrintSCREEN" - how to program this in Delphi or C++ (like it is programmed in HYPERSNAP Dx-4 (for example))

p.s. Sorry for my not correct English - I'm from Russia


  • try this

    bitblt(image1.canvas.Handle, 0, 0, 800, 600, getdc(getdesktopwindow), 0, 0, SRCCOPY);
  • Capturing the deskotop's DC doesn't capture the mouse cursor or Windows XP/2000's menu shadows or alpha-layered (semi-transparent) windows. This can be fixed by copying video memory using DirectDraw primary surface, from there you can copy anything in videocard's ram. But videos are usually played using overlay surface, which is like additional primary surface in videocard's memory. I haven't seen any program which could take screenshot from those :(
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!