You didn't mention which OS you're using, but I think in all of them since
Win2K you can hover the mouse pointer over the screen icons in the Display
Properties / Settings page and a pop-up will pop up that tells you the
co-ordinates of each screen. You can see the negative values there.
--
JHaggerty
"jpatrcik" wrote:
> I have to back up and restore multiple monitor information, including the
> relative positions of the primary video device to the secondary (or extended)
> video device. Digging in he registry, I find the video GUIDs for the primary
> and secondary video devices, but I am perplexed at the settings on the
> secondary device. For instance, the Attach.RelativeX and the Attach.RelativeY
> for the secondary device positined to the right of the primary device is 1280
> and 0 respectively, just what you'd assume if the primary monitor had a 1280
> horizontal resolution. So far, so good. However, if I move the secondary
> video device (extended desktop) directly on top of the primary monitor, the
> results are Attach.RelativeX=0xfffff70 (4294967152) and
> Attach.RelativeY=0xffffC00 (4294966272). This is confusing, since I'd expect
> them to be Attach.RelativeX=768 (horizontal resolution of primary) and
> Attach.RelativeY=0.
> The same confusion reins when I move the secondary video device to the left
> of the primary monitor. In this case, Attach.RelativeX=0xfffff70 (4294966016)
> and Attach.RelativeY=0xffffff00(4294967040).
>
> Is there some sort of conversion to take into account that I am missing?