TerSetFlags8
Set additional flags or retrieve the values of the flags.
DWORD TerSetFlags8(hWnd, set, flags)
HWND hWnd; | The handle of the window to be accessed. If hWnd is set to NULL, this function sets the common initialization flags. When a new window is created, it inherits all common flags. |
BOOL set; | TRUE to set the given flags, FALSE to reset the given flags |
DWORD 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_ENABLE_GDIPLUS | Enable the gdi-plus features. The included ssgp.dll dll must be copied to the project folder to enable this feature. Also, Microsoft's gdi-plus package must be installed to use this feature. |
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 paste 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.