c# - How should i use VirtualScreenLeft and VirtualScreenTop -
in application need know size of monitors combined space, adjust size of window if goes big.
i found virtualscreenwidth , virtualscreenheight in system.windows.systemparameters , seems need. wonder virtualscreenleft , virtualscreentop , how should take in consideration? in scenarios values set not 0?
the virtual screen bounding box containing monitors of system. bounding box referenced @ 0,0 being upper-left corner of main monitor (the main-monitor defined in system properties).
this means bounding box can have negative numbers left/top values. example, lets have 2 1920x1080 monitors. main monitor set 1 on right (but level @ top), bounding box -1920,0,3840,1080 (x,y,w,h).
if move left monitor 500 pixels, bounding box becomes -1920,-500,3840,1580. important note areas of bounding box not visible user, if designing screen takes area both monitors have, aware may not set in rectangular shape. may not both same resolution.
Comments
Post a Comment