Delphi - Any way to have a Delphi send the Crtl+Click and ..

With the release of TNT v. 2.0 the EC Software screenshot program has become a serious application in its own right, so it was high time that it was given its own forum!

Moderators: Alexander Halser, Tim Green

Post Reply
mtm_king
Posts: 2
Joined: Thu Jun 10, 2004 9:58 pm
Location: Boise, Idaho USA

Delphi - Any way to have a Delphi send the Crtl+Click and ..

Unread post by mtm_king »

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
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

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
Alexander Halser
Senior Software Architect, EC Software GmbH
mtm_king
Posts: 2
Joined: Thu Jun 10, 2004 9:58 pm
Location: Boise, Idaho USA

Unread post by mtm_king »

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
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
Post Reply