VSSpell Control > VSSpell All Members > VSSpell Properties > AutoLinkHwnd Property |
Sets or returns the window handle (hWnd) of a control or window that will supply the text for spell checking.
[form!]VSSpell.AutoLinkHwnd[ = value As Long ]
The window handle supplied should belong to a TextBox or RichTextBox control.
After setting the AutoLinkHwnd property, start spell checking the control using the Start property. The text of the specified control or window will be placed in the VSSpell's Text property before the spell-checking process starts. Whenever an error is detected, the offending word will be automatically selected in the control, and changes made by the user will also be reflected in the control.
Set this property to zero to break the link from the control to a window.
Long