Window contents not updated when ShowContext is True

You are here: Home > Support > WSpell

Product: WSpell

Problem: The contents of the window referenced by the TextControlHWnd property are not updated when the ShowContext property is set to True.

Solution: This behavior is by design. When ShowContext is True, the context window is the window that is updated during checking. WSpell will update either the context window or the window referenced by the TextControlHWnd property, but not both. If you need to update both, you can catch WSpell events and highlight and replace words as described in the WSpell Programmer's Guide under "How to highlight misspelled words" and "How to update the checked document."

Alternatively, you can obtain the corrected text through the Text property when the spelling check is finished, and copy the text to the original control.

Wintertree Software Inc.

Site index:


[Home] [Products] [Catalog] [Ordering] [Search] [Contact Us]


Copyright © 2015 Wintertree Software Inc.