I don't know if this has been posted before, but in case others have been wondering how to do this, here is what I found.
Basically, for both X and Y, take the mouse clicked pos, multiply it by 1200, and divide by the players current screen resolution height.
Then a dialog can be placed at those coordinates, relative to topLeft.
Could you perhaps make a bit more tutorial like post about this in the Tutorial section of the forums?
That way if people are wondering about it they can simply look up your tutorial and find exactly how to do it.
Helral's Lair Meow meoow meeow. I'm ze evil SC2MapsterKitten. UI Tutorials listing current projects: UI support for other projects Helrals Random Dungeon Map (progressing very slowly) monitoring wiki and UI development forum
No, it doesn't require that.. All it requires is that he clicks somewhere, where the mouse down event can register it.
The screen does flicker when it tests his resolution though, and it has a validation phase after it has measured the resolution. I modified it to skip that validation, since I found that it sometimes would keep remeasuring the resolution because it never got satisfied.
But keep in mind that it can measure the wrong resolution if the user doesn't keep the mouse still when he clicks. So if you skip the validation, you should probably add some way for the user to tell it to remeasure the resolution.