VSSpell Control > VSSpell All Members > VSSpell Methods > CheckWindow Method |
Start spell checking the text in a given control.
[form!]VSSpell.CheckWindow hWnd As Long
Using this method is equivalent to setting AutoLinkHwnd property to a valid window handle and then setting the Start property to True.
Usually, the window belongs to a TextEdit or RichTextEdit control, and is retrieved using the control's hWnd property. For example:
Example Title |
Copy Code
|
---|---|
VSSpell1.CheckWindow Text1.hWnd |