GetCaretPos - returns the position of the caret or edit cursor
Source position: stdctrls.pp line 700
protected function TCustomEdit.GetCaretPos: TPoint; virtual;