TE Edit Control Win32 / Win64 Help
Product page

TerDeleteCellText

Delete cell contents.

BOOL TerDeleteCellText(hWnd,select, repaint)
HWND hWnd;The handle of the window to be accessed
int select;This flag can be set to one of the following values:
SEL_CELLS:Delete the contents of the current cell or all selected cells.
SEL_ROWS:Delete the contents of the current row or all selected rows.
SEL_COLS:Delete the contents of the current column or all selected columns.

You can set the 'select' parameter to 0 to invoke a dialog box to accept this parameter from the user.

BOOL repaint;repaint the screen after this operation.

Comment: This function deletes the contents of the table cell, but the table structure is not affected.

Return Value: This function returns TRUE when successful.