I\'m writing an application for the testing team. What this application does is it lets you take a screenshot of any part of the screen (and then it uploads it to testing te
Refer to MSDN for detail about working with multiple monitors:
Multiple Display Monitors
Virtual Screen
Multiple Monitor System Metrics
You can use GetSystemMetrics()
with the SM_XVIRTUALSCREEN
, SM_YVIRTUALSCREEN
,
SM_CXVIRTUALSCREEN
, and SM_CYVIRTUALSCREEN
metrics to retrieve the rectangle of the entire virtual screen that contains all of the physical screens.