TE Edit Control Win32 / Win64 Help
Product page

TerSetModify

Set or reset the modification flag.

BOOL TerSetModify(hWnd,modify)
HWND hWnd;The handle of the window to be accessed
BOOL modify;TRUE to set the modification flag, FALSE to reset it

Description: This flag is used to set or reset the modification flag. The modification flag is used to prompt the user to save the data before exiting the editor.

Return Value: This function returns TRUE if successful.