How to use GetWindowText, GetWindowTextLength, GetDlgItem.