Windows Memo does not track the cursor position to the actual line on the screen unless all lines have not wrapped around.
A wrapped line will report the next line as being one less than it appears on the screen.
what windows does do however, is it searches the list looking for Line Endings and uses that as the indicators so if you are depending on the Cursor to be in alignment with the screen and actual lines in text, don't bank on it.
In other targets this may not be case but in windows a whole set of memo messages are designed to track the cursor internally.
Additional note to this, it is a Memo and normally memos are short little text, not monster editors and therefor using $MS method of tracking the lines could become slower than you would expect.