Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
How to know added word to user dictionary.
posted

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????

Parents
  • 48586
    Suggested Answer
    posted

    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.

Reply Children