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