WinForms spell check in user control

Originally Posted 17 October 2016, 11:57 am EST

  • Originally Posted 17 October 2016, 11:57 am EST

    I am having an issue with spellchecker in winforms with a user control. I have the spellcheck control on the user control and these are dynamically added to a panel. The issue is it doesn't fire the spell check as the user types in the user controls text box.

    Any ideas?
  • Marked as Answer


    I had this code in the form to reduce some flickering/etc. And it seemed to be causing the issue. I've removed it and all works.

    		protected override CreateParams CreateParams
    CreateParams cp = base.CreateParams;
    cp.ExStyle |= 0x02000000; // WS_CLIPCHILDREN
    return cp;

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels