I have two monitors, resolutions are 1024*768, 1280*1024.
What I want is to know the relative positions between monitor 1 and 2.

According to the manual,
pts = mappoints(rect1, rect2, ptsIn)
here I gave
rect1 = 0 24 1024 768     (monitor 1)
rect2 = 1024 0 2304 1024  (monitor 2)
ptsIn  = 1096 21 1695 587 (window's position is in monitor 2)

But the result is not what I expected
pts == 2394 -4 3143 775

Did I misunderstand the function? Can anyone teach me? thanks.




[Non-text portions of this message have been removed]

Reply via email to