TE Edit Control Win32 / Win64 Help
Product page

TerSetRowKeep

Set/reset the flag to keep a table row in one page.

BOOL TerSetHdrRow(hWnd, CellId, set, repaint)
HWND hWnd;The handle of the window to be accessed
int CellId;A cell id for a cell in the row. Set to 0 to assume the current table row.
BOOL set;TRUE to set this flag, or FALSE to reset this flag.
BOOL repaint;Set to TRUE to repaint the screen after this operation.

Description: The editor moves the entire table row to the next page when this flag is set for the row and the page break occurs within the row.

Return Value: This function returns TRUE when successful.