Method PositionToCoords
PositionToCoords(long)
Converts given text position to client coordinates in pixels.
PointD PositionToCoords(long pos)
Parameters
pos
longText position in 0 to GetLastPosition() range (inclusive).
Returns
- PointD
On success returns a wxPoint which contains client coordinates for the given position in pixels, otherwise returns (-1,-1).
Remarks
This function allows finding where is the character at the given position displayed in the text control.