Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set desktop area
#6
I didn't tested, but I think you aren't right. Virtual screen surrounds all monitors. Coordinate 0,0 is at top-left of primary monitor. For example, if second monitor is mapped above, then screen2.top should be -748, and screen2.bottom = 0. Second argument should be always 0, and monitor is selected automatically, based on given coordinates. But maybe I'm not right.

To get monitor coordinates, use GetMonitorInfo. To get monitor handle, use EnumDisplayMonitors or some other function from this family.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)