Suggestion: Attach Screen-shot from all screens

delphi package - automated exception handling
Post Reply
dan_almasoft
Posts: 1
Joined: Fri Apr 10, 2015 8:22 am

Suggestion: Attach Screen-shot from all screens

Post by dan_almasoft »

Hello!
I wonder if it's possible to get a screenshot option for all attached screens?
Our software uses mulitple screens and if a user get an exception in a part of the program running on the secondary screen the screen-shot only shows the primary.
The stack is the most useful thing, but sometimes the screen-shot gives clues to what the user was doing when the exception was thrown.

It would be a nice feature to get a screen-shot from all screens. Maybe a part of a future release?

Best regards
//Dan
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: Suggestion: Attach Screen-shot from all screens

Post by madshi »

In theory that should already work. I'm using this code:

Code: Select all

    if GetSystemMetrics(SM_CMONITORS) > 0 then begin
      ix := GetSystemMetrics(SM_XVIRTUALSCREEN);
      iy := GetSystemMetrics(SM_YVIRTUALSCREEN);
      iw := GetSystemMetrics(SM_CXVIRTUALSCREEN);
      ih := GetSystemMetrics(SM_CYVIRTUALSCREEN);
That code is supposed to provide me with the size of the combined desktop image for all monitors.
Post Reply