PtRect - position

Hy, I need some help about positionning.
In this application sample when I click in the scrollarea and draw is drawing a PtRect, but the created area starts in position (0, 0) from scrollarea, I need the real position, how can I do that?
The area can be seen using winview front.

I´m using Photon 1.12 under QNX 4.25.