The GetLength()is on the variable I set up for the text. However you solve my problem! I changed the SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx); To: m_CheckNoCtrl.SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx); I overlooked specifing the control I was sending the message for! It now works for me too. Thanks!!! :)