10-06-2007, 05:35 PM
If it is Edit or RichEdit20A or similar control, can be used edit and rich edit control messages. Some other control types also have their own interfaces that allow to do it. Otherwise I don't know a way other than replacing whole text.
str s
s.getwintext(...)
s.replacerx etc
s.setwintext, or key Ca; s.setsel.
str s
s.getwintext(...)
s.replacerx etc
s.setwintext, or key Ca; s.setsel.