How do you determine the cursor's current position in a textbox?