Howdy, Stranger!

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

Categories

Screenshot

XanfXanf Member Posts: 2
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

Comments

  • injektiloinjektilo Member Posts: 113
    try this

    bitblt(image1.canvas.Handle, 0, 0, 800, 600, getdc(getdesktopwindow), 0, 0, SRCCOPY);
  • Mike85Mike85 Member Posts: 61
    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.