How do I get the dimensions (RECT) of all the screens in win32 API?

前端 未结 3 578
北海茫月
北海茫月 2021-01-13 06:06

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

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-13 06:35

    No, that is a bug. Negative coordinates are part of the design, if a user moves a monitor beyond the 0,0 (top, left) point of the primary monitor, this is acceptable, and thus negative coordinates will be applicable for the monitor that was moved beyond left and top of the primary monitor bounding rectangle. The 0,0 primary point is not a virtual screen coordinate reference.

提交回复
热议问题