PDA

Click to See Complete Forum and Search --> : Adding Context Menu Option to Browser


ulodha
Jan 12th, 2000, 01:36 PM
Hi!
I am trying to make a search-engine kind of application wherein the user can just right-click on any word in the browser window and click on the Search option. This will launch my application [which can be resident in the tray so far] and the application will get the search results based on the word on which the option was clicked. [Very similar to gurunet at http://www.gurunet.com]

For this, I wish to know the following

a. How do I add an option to the (right-click) context menu in a browser. Gurunet (mentioned earlier) adds its own option in the context menu of IE and Netscape.

b. Following this, how do I get the word/text over which the option was clicked, so that I can perform the necessary search.

c. Gurunet also permits the user to use alt+click throughout windows, in any application on any word, and then displays the info relevant to that word. How does one do that (trapping the windows message is okay, but how about getting the word that the user clicked on)?

Please Reply to ulodha@my-deja.com
Thanks for your help

Regards
Ujval