TerSpellCheck
Invoke the spell checker.
BOOL TerSpellCheck(hWnd, StopAfterFirst, msg)
HWND hWnd; | Window handle to access. |
BOOL StopAfterFirst; | TRUE to stop the spell check session after the first misspelled word is found. |
BOOL msg; | TRUE to display the termination message indicating the number of misspelled words. |
Return Value: This function returns TRUE if document contains no misspelled words. It returns FALSE if the StopAfterFirst parameter is set to TRUE and a one misspelled word is found. Otherwise, the FALSE return values indicates one or more misspelled words.