TerSetFlags8
Set additional flags or retrieve the values of the flags.
int TerSetFlags8(set, flags)
bool set; | TRUE to set the given flags, FALSE to reset the given flags |
int flags; | Flags (bits) to set or reset. Currently, the following flag values are available: |
| TFLAG8_AUTO_REFORMAT_TABLES | Automatically recalculate the width of the auto-width tables in the fitted-view mode |
| TFLAG8_DONT_SELECT_LAST_CHAR | Do not select the last character of the document on the select_all operation. |
| TFLAG8_HIDE_PAGE_BLANK_AREA | For short documents, disable the display of the non-text area by hiding the vertical scroll bar. |
| TFLAG8_MERGE_TABLES_ON_PASTE | Merge the pasted table to the preceding table. |
| TFLAG8_INSERT_ROWS_ON_PASTE | Insert the table rows on paste instead of overlaying it over the existing rows. |
| TFLAG8_DONT_SPELL_CHECK_HDR_FTR | Do not spell-check header/footer text. |
Return value: This function returns the new value of all the flags. Call this function with the 'flags' parameter set to zero to retrieve flag values without modifying it.