AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

screen capture

Ein Thema von mohfa · begonnen am 30. Nov 2007 · letzter Beitrag vom 1. Dez 2007
Antwort Antwort
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#1

screen capture

  Alt 30. Nov 2007, 18:20
Hi every one , i want to make a screen capture application :
The captured Image will be converted into a Flash with all objects i mean with menus , mouse ... it will be like a demo builder which presents its captured images into Thumbnail and with the animation time line ... etc .
My question is : what should i have as Components and other stuffs

many thanks
  Mit Zitat antworten Zitat
Benutzerbild von LoCrux
LoCrux

Registriert seit: 5. Mär 2007
Ort: Gwang-Yang-City
48 Beiträge
 
Delphi 2009 Enterprise
 
#2

Re: screen capture

  Alt 1. Dez 2007, 03:14
@mohfa

Zitat von mohfa:
What should i have as Components and other stuffs.
I dont't know what exactly you need. But look here.

For a screenshot I can provide you this:

Delphi-Quellcode:
procedure GetScreenShot (var ABitmap : TBitmap);
var
  DC : THandle;
begin
  if Assigned(ABitmap) then // Check Bitmap<>NIL
  begin
    DC := GetDC(); // Get Desktop DC
    try
      ABitmap.Width := Screen.Width; // Adjust Bitmapsize..
      ABitmap.Height := Screen.Height; // ..to screen size
      BitBlt(ABitmap.Canvas.Handle, // Copy
             0,0,Screen.Width,Screen.Height, // Desktop
             DC, // into
             0,0, // the
             SrcCopy // Bitmap
        );
    finally
      ReleaseDC(0, DC); // Relase DC
    end;
  end;
end;
//EDIT: R-Fehler entfernt
“C++ is an insult to the human brain.” [Niklaus Wirth]

2B OR NOT 2B (.. THAT IS FF)
  Mit Zitat antworten Zitat
mohfa

Registriert seit: 11. Feb 2007
97 Beiträge
 
Delphi 7 Enterprise
 
#3

Re: screen capture

  Alt 1. Dez 2007, 10:37
thank you LoCrux . what i want to do is like The Demo Builder .
my Questions are :
How to display the Flash Animation TimeLine.
how to convert the captured image into Flash Frames. with all the animation ( Mouse , Menu ... ).
See this Sample
This how does it work :
TYhe user capture the Wanted Sreens then the Demo Builder converts these Screens into a SWF frames ( all this process is done into Memory ).


Many thanks again for you all
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:45 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz