ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Get screenshot from window handle?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

864 Posts

Posted - May 28 2019 :  08:55:02  Show Profile  Reply
Does ImageEn have an easy function to get a screenshot of a window from window handle?

PeterPanino

864 Posts

Posted - May 28 2019 :  09:19:19  Show Profile  Reply
I have found this in the help file:

CaptureFromScreen


So
TIECSSource = (iecsScreen, iecsPrimary, iecsForegroundWindow, iecsForegroundWindowClient);


...should be improved:

TIECSSource = (iecsScreen, iecsPrimary, iecsForegroundWindow, iecsForegroundWindowClient, iecsWindowHandle);


procedure CaptureFromScreen(Source: TIECSSource; MouseCursor: TCursor = -1; AHandle: Winapi.Windows.HWND = nil);
Go to Top of Page

xequte

38198 Posts

Posted - Jun 02 2019 :  03:17:14  Show Profile  Reply
Hi

You can email me for an update that does this.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

PeterPanino

864 Posts

Posted - Jun 02 2019 :  06:27:26  Show Profile  Reply
Nigel, thank you very much!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: