TE Edit Control Win32 / Win64 Help
Product page

InsertTerText

Insert a text buffer in the ASCII format at the current cursor location.

BOOL InsertTerText(hWnd, buffer, repaint)
HWND hWnd;Handle of the window to be accessed
BYTE huge *buffer;pointer to the buffer containing ASCII text data
BOOL repaint;TRUE to refresh the window after this operation

Description: This function is used to insert a buffer containing the text (in ASCII format) into the specified TER window. The text is inserted at the current cursor position.

The text lines within the buffer must be delimited using CR/LF pair.

The buffer must be terminated using a NULL character.

Return Value: This function returns TRUE if successful.