|
Hi,
I’ve created a tool using CreateUniqueTool(), and now I want to query its on screen coordinates and dimensions so I can save this for future use and create it in the same position as it was left. None of the properties seem to return anything useful at all. Does anyone know how to do this?
So for example, if my tool is wrapped to t, I want to be able to access something like t.PosX and get back a screen coordinate such as 347 pixels. The only information I can get back are the region positions but these are all relative to the tool origin - I want absolute positions in screen space.
I am aware of the StartSizeX/Y and StartPosX/Y properties but these are obviously no good until I can query the position and dimensions in the first place.
thanks!
|
|
|