I am using UltraSpellChecker to check spelling. In SpellCheckDialog box when "Add to Dictionary" button is clicked it adds the highlighted word to user dictionary file. How can i know which word has been added to user dictionary. I want event handler somthing like "Add to dictionary" button clicked. And which word has been added????
Hello,
You could handle SpellCheckDialogOpening event of the UltraSpellChecker and to put there following code:
e.SpellCheckDialog.Controls[0].Controls["btAddToDictionary"].Click += new EventHandler(btAddToDictionary_Click);
and here is the implementation of the click event :
void btAddToDictionary_Click(object sender, EventArgs e)
{
// add your code here
}
Please let me know if you have any further questions.
Hi,
I just wanted to know if you were able to solve your issue based on my suggestions or you still need help? Just let me know.
Thank you.
Thanks for your reply. I handled the event but how can i know the word which is being added to user dictionary...