Introduction
I have been searching for a desktop English-English dictionary for the long time. I had found few, but most of them are licensed and need to buy. WordWeb is the one of the nice dictionary in the category of free desktop dictionaries. But I like Encarta and Cambridge online dictionaries. To check the meaning for a word in any of these dictionaries, I need to open the browser, type url, paste the word then click Search button... which was little but long process when I was reading an article and check the meaning of word without distracted.
So I thought of developing a small utility which sits in my windows tray and opens a window with Encarta or Cambridge dictionary meaning for a word in clipboard or when I type a word.
Background
Technically there is not much challenging behind, but to give a brief background of development of the tool, it uses a WebBrowser control and WinAPI methods for hotkey selections (Alt+1 to open the textbox for typing the word, Alt+2 to open the window with meaning of the word in clipboard).
Using the code
When you unzip the folder, you can see the solution file of a windows application. This project has three windows forms and a lib folder with win32 methods for hotkey selections.
frmWordSearch � This contains a textbox to type the word to find the meaning and a context menu with the options for selecting Encarta or Cambridge dictionaries and uses a normal thread to open the other window which will have a browser control on it.
frmFind � This is a very simple windows form with a web browser control on it. The web browser Navigate() method navigates to either Encarta or Cambridge dictionaries with the selected word as a query string parameter.
frmHelp � which gives brief help for using this utility
How to use this utility
When you run the application, you can see a "binocular" image on the tray of your desktop with a small textbox on top of that. You can type the word to find the meaning in this text box. Press �Esc� to close either of windows.
When right clicked on tray icon, you can see a context menu with the options
Cambridge � opens the meaning from Cambridge online dictionary
Encarta � opens the meaning from Encarta online dictionary
Set Delay � A window will be popped with one of the previously searched word for an interval selected thru this option
Word Order � Specifies popup should get the previously searched word in sequential or random order.
Stop Rem � Stops showing the popup and when this option is selected, Set Delay and Word Order options will be disabled
Set Resolution � By default when this utility is loaded, resolution for the utility is set, but when the screen resolution is changed during this utility is running, you can use this option to adjust utility resolution based on the changed resolution
You can also use the hotkeys
Alt+1 � To show or hide the textbox
Alt+2 � To find the meaning of a word in clipboard. To find the meaning of a word, simply copy it to clipboard by Ctrl+C and use Alt+2 get the meaning of the word.
History
It could have been better pressing Alt+2 to openup the meaning of a selected word instead of copying the word into clipboard, but I have not yet implemented in this.