TE Edit Control Win32 / Win64 Help
Product page

TerChangeField

Change the value for a data field.

BOOL TerChangeField(hWnd, name, data, repaint)
BOOL TerChangeFieldU(hWnd, name, UnicodeData, repaint)
HWND hWnd;Handle of the window to be accessed
LPBYTE name;Name of the field to modify
LPBYTE data;New data text for the field. This parameter is used by the TerChangeField function only.
LPWORD UnicodeData;New unicode data text for the field. This parameter is used by the TerChangeFieldU function only.
BOOL repaint;TRUE to repaint the screen after this operation

Description: This function changes the data for all occurrence of the specified field name.

Return Value: This function returns a TRUE value if successful.