PtRaw absolute position

How can I get the absolute position of a PtRaw widget.
With PtCalcCanvas, I get the that information but it is relative to its
parent.




Edgar Dieperink
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------


| Edgar Dieperink | Home : +41-(0)21-828.20.11 |
| Rue du Fort 22 | Facsimile : +41-(0)21-828.20.19 |
| CH-1188 Gimel | Office : +41-(0)22-995.00.51 |
| Switzerland | e-mail : dieperie@iprolink.ch |
| | http : www.up-all-night.ch/~dieperie/ |

Hi Edgar,

Have you tried using

PtGetAbsPosition(ABW_base_raw, short *x, short *y);

This will return you the absolute position with respect to the position
within the consoles. The location is stored in the x and y values.

Hope this helps
Regards
Brenda


Edgar Dieperink <dieperie@iprolink.ch> wrote:

How can I get the absolute position of a PtRaw widget.
With PtCalcCanvas, I get the that information but it is relative to its
parent.





Edgar Dieperink
,
(o o)
---------------------------oOO–(_)–OOo-----------------------------


| Edgar Dieperink | Home : +41-(0)21-828.20.11 |
| Rue du Fort 22 | Facsimile : +41-(0)21-828.20.19 |
| CH-1188 Gimel | Office : +41-(0)22-995.00.51 |
| Switzerland | e-mail : > dieperie@iprolink.ch > |
| | http : > www.up-all-night.ch/~dieperie/ > |