Report question

Question: How to get the text cursor position in Windows?