TE Edit Control Win32 / Win64 Help
Product page

SaveTerFile

Save the editor text to disk

BOOL SaveTerFile(hWnd, FileName)
BOOL SaveTerFileU(hWnd, FileNameW)
HWND hWnd;Handle of the window to be accessed
LPBYTE FileName;Name of the disk file to save text. This parameter is used by the SaveTerFile method only.
LPWORD FileNameW;Name of the unicode disk file to save text. This parameter is used by the SaveTerFileU method only.

Description: This function instructs the editor to save the text to the specified disk file.

Return Value: This function returns TRUE if successful.