Hi,
From my windows application, i want to detect selected text in "Internet Explorer", Firefox and any other browser.
Do you know what piece of code should i use in order to achieve this?
Thanks,
The idea is not to search for a text in IE, but instead "capture the selected text" in IE. By the way not only IE, but any windows application that has the focus One thing i can think of is to simulate a ctrl+c to copy selected text and then read the clipboard, but i don't like this solution either.
Im almost sure there should be a way to get the selected text using Windows API, i know that using EM_GETSELTEXT, WM_GETTEXT, EM_GETSEL might be useful, but they do not work in IE or any other browser, here is my problem....