Board index » delphi » Capturing The Whole Screen

Capturing The Whole Screen

Kevin Hayton <KevinHay...@xtra.co.nz> skrev i artiklen
<3590EAEF.1...@xtra.co.nz>...

Quote
> I would like to capture and print the whole screen from my Delphi
> application - I can capture and print any form but I cannot find a way
> to replicate ALT-PRINT-SCRN to capture the screen to the clipboard or
> any other way.

In our "ZieglerCollection one", we have a component, that is the complete
screen, so it should be easy to print it. You will have the screen in form
of a tCanvas.

You can download "ZieglerCollection one" from our homepage at
http://www.zieglersoft.dk or http://www.zieglersoft.com

--

Warmest Regards from Claus Ziegler,

ZieglerSoft                    Email: cl...@zieglersoft.dk
Rughaven 25,2                         WWW: http://www.zieglersoft.dk
DK-9000 Aalborg , Denmark                   Phone: (+45) 9811 3772

 

Re:Capturing The Whole Screen


Visit http://www.software.adirondack.ny.us for a freeware release of
Apprehend98 Screen Capture application with full source... or if you have
the Pixel Graphics Library, Luxent's Doc's & images, or Skyline Tools
Corporate Suite download the shareware versions for these components.  Note:
Shareware zipfiles are password protected.  You may register shareware
versions online.

Regards

Bill
Adirondack Software & Graphics

Quote
Kevin Hayton wrote in message <3590EAEF.1...@xtra.co.nz>...
>I would like to capture and print the whole screen from my Delphi
>application - I can capture and print any form but I cannot find a way
>to replicate ALT-PRINT-SCRN to capture the screen to the clipboard or
>any other way.

>Any ideas would be welcomed

>Kevin

Re:Capturing The Whole Screen


There really isn't that much you have to do.  Simply get the device
context for the entire screen and bitblt to an offscreen bitmap/canvas.
There have been several posts (q&a's) regarding this question.  To find a
plethora of code snippits on the subject one should try searching an
archive (like deja news, my personal fav.) for GetDeskTopWindow (a
function that returns the handle to the screen wich can be used in turn
with getDC to return the desired dc).

Quote
Kevin Hayton wrote:
> I would like to capture and print the whole screen from my Delphi
> application - I can capture and print any form but I cannot find a way
> to replicate ALT-PRINT-SCRN to capture the screen to the clipboard or
> any other way.

> Any ideas would be welcomed

> Kevin

Re:Capturing The Whole Screen


Quote
Mike Edey wrote:

> There really isn't that much you have to do.  Simply get the device
> context for the entire screen and bitblt to an offscreen bitmap/canvas.
> There have been several posts (q&a's) regarding this question.  To find a
> plethora of code snippits on the subject one should try searching an
> archive (like deja news, my personal fav.) for GetDeskTopWindow (a
> function that returns the handle to the screen wich can be used in turn
> with getDC to return the desired dc).

For example: in using BitBlt, use GetDC(0) to return the Device Context
for the screen.
Quote
> Kevin Hayton wrote:

> > I would like to capture and print the whole screen from my Delphi
> > application - I can capture and print any form but I cannot find a way
> > to replicate ALT-PRINT-SCRN to capture the screen to the clipboard or
> > any other way.

> > Any ideas would be welcomed

> > Kevin

Other Threads