TE Edit Control Win32 / Win64 Help
Product page

TerSetCharSet

Override the character set for font creation.

BOOL TerSetCharSet(hWnd, NewCharSet)
HWND hWnd;The handle of the window to be accessed.
BYTE NewCharSet;New character set. To reset the override, set the NewCharSet to DEFAULT_CHARSET or 1.
BOOL repaint;Repaint the screen after this operation

Description: Use this function to override the character-set that the editor should use to create new fonts.

Return Value: This function returns TRUE when successful.