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
 CaptureFromScreen with iecsForegroundWindow
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

935 Posts

Posted - Mar 13 2016 :  18:43:20  Show Profile  Reply
I have tried this code to create a screenshot of an application window:

ImageEnView1.io.CaptureFromScreen(iecsForegroundWindow, -1);
ImageEnView1.io.SaveToFile('D:\window.png');

Unfortunately, part of the window frame is cut off:



You can compare it here with the same window captured with Alt+Print:

xequte

38700 Posts

Posted - Mar 13 2016 :  22:25:24  Show Profile  Reply
Hi

What version of Windows are you using? I cannot reproduce in Windows 10.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

PeterPanino

935 Posts

Posted - Mar 14 2016 :  04:03:37  Show Profile  Reply
I use Windows 7 x64.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: