TE Edit Control Win32 / Win64 Help
Product page

TerSetStCharSet

Set the character set for spell-checking.

BOOL TerSetStCharSet(hWnd, NewCharSet)
HWND hWnd;The handle of the window to be accessed.
BYTE NewCharSet;New character set.
BOOL repaint;Repaint the screen after this operation

Description: Use this function to set the character set corresponding to the chosen dictionary for SpellTime. This call would be needed only if the chosen SpellTime dictionary uses non-ANSI characters (character set value greater than 2).

Return Value: This function returns TRUE when successful.