I might be close to an answer here, but I could use some confirmation.
There is something called workingArea in the Screen class. I noticed in it
that my right-screen is listed as having a Left and Right value
corresponding to values as if it is an extension of my left-screen i.e., the
right-screen Left equals the left-screen's Right, and the left-screen's
Right is equal to the sum of the two screen's widths).
So, does this mean if a Form is on the right-screen and I give it NEGATIVE X
coordinates it will appear on the left-screen? Or that if a Form is on the
left-screen and I give large enough X coordinates it will start to appear on
the right-screen?
If this is true, that means a form can be logically on one screen and
visually on the other? That seems wrong somehow...
Am I totally off base here?
[==Peter==]
> I'm programming using MS VS VC++ 2008 Express (Beta 2) in /Cli pure mode.
>
[quoted text clipped - 11 lines]
>
> [==Peter==]
>I might be close to an answer here, but I could use some confirmation.
>
[quoted text clipped - 8 lines]
> the left-screen and I give large enough X coordinates it will start to
> appear on the right-screen?
Yes.
> If this is true, that means a form can be logically on one screen and
> visually on the other? That seems wrong somehow...
>
> Am I totally off base here?
Well, sort of. There is no "logically on one screen". There is a single
coordinate system in which all screens are placed.
If the left screen starts at X=0, and the right screen starts at X=1024,
then if the Form is one the right screen it will have X >= 1024. To move to
the left screen (or spanning the gap) you'd set X < 1024, not negative X.
Hope this is what you needed to know.
> [==Peter==]
>
[quoted text clipped - 13 lines]
>>
>> [==Peter==]
Peter Oliphant - 26 Oct 2007 19:10 GMT
Hey Ben,
Yup! Just wanted to be sure before I wrote a lot of code. Thanx again!!!
: )
[==Peter==]
>>I might be close to an answer here, but I could use some confirmation.
>>
[quoted text clipped - 44 lines]
>>>
>>> [==Peter==]