Using the win32 API calls GetCaretPos and ClientToScreen with a POINTAPI structure is not returning the right values for the screen posistion of the caret. It also only updates when the window is moved.... heres the code:

GetCaretPos Pt
ClientToScreen hWnd, Pt
Text1.Text = Pt.X ' Update
Text2.Text = Pt.Y

What am I doing wrong? I need screen coords, not client.