check the selected text in wineditor using qtp
write a test to open Notepad enter some text. (ex:which has your name.) select find from edit menu,enter your name in find what and verify if it is selecting your name on the edit screen using QTP.
Re: check the selected text in wineditor using qtp
You can use SendMessage API and use messages for WinEdit to get the actual selection start, selection end and the select text also. Search forum for SendMessage to get sample codes