I am trying to write a Delphi program that will copy an other window.
I can get Delphi to activate the window and TScreenCapture to select the window but I can not figure out how to send Crtl+Click to TScreenCapture. (I want the program to do it.)
Is there a way to have Delphi tell TScreenCapture to capture the selection?
And is there a list of methods for TScreenCapture like Start and Stop??
Thanks,
Mike
Delphi - Any way to have a Delphi send the Crtl+Click and ..
Moderators: Alexander Halser, Tim Green
- Alexander Halser
- EC-Software Support
- Posts: 4104
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Mike,
there is no way to drive the TScreenCapture component completely from you program. It was designed to be directed by user input. However, this component is not longer supported. If you know the active window already, a couple of lines of code will get you a screenshot of that window: http://www.swissdelphicenter.ch/torry/s ... php?id=259
there is no way to drive the TScreenCapture component completely from you program. It was designed to be directed by user input. However, this component is not longer supported. If you know the active window already, a couple of lines of code will get you a screenshot of that window: http://www.swissdelphicenter.ch/torry/s ... php?id=259
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH
Alexander, thanks very much. It is just what I need.
I looked through through Torry's pages but must have missed it.
Again - thanks and have a great week.......
mike
I looked through through Torry's pages but must have missed it.
Again - thanks and have a great week.......
mike
Alexander Halser wrote:
Mike,
there is no way to drive the TScreenCapture component completely from you program. It was designed to be directed by user input. However, this component is not longer supported. If you know the active window already, a couple of lines of code will get you a screenshot of that window: http://www.swissdelphicenter.ch/torry/s ... php?id=259