Selects the word containing the insertion point in a RichTextEdit control.
RichTextEdit and DataWindow controls
rtename.SelectTextWord ( )
Integer. Returns the number of characters selected if it succeeds and -1 if a word cannot be selected or an error occurs.