TerSetFlags10
Set additional flags or retrieve the values of the flags.
DWORD TerSetFlags10(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: |
TFLAG10_DONT_MARK_WITH_SEL_COL | Don't select table cells using the table column selection method |
TFLAG10_DONT_PAD_TABLE_HEIGHT | Don't add the bottom padding to the exact height table rows |
TFLAG10_MERGE_NESTED_RTF_PROPS | Merge nested rtf color tables |
TFLAG10_EXTEND_AUTO_VSCROLL | Extend the auto-vertical-scroll bar feature to hide the vertical bar when not needed |
TFLAG10_NO_HLINK_BOOKMARK | Do not generate bookmark for internal hyperlinks |
TFLAG10_NO_LAST_PARA_MARKER | Don't read or write the last para-markte to the rtf file |
TFLAG10_DONT_COMBINE_UNDOS | Don't combine undos |
TFLAG10_AUTO_HSCROLL_BAR | Activate the automatic horizontal scroll bar feature |
TFLAG10_DOTTED_GRID_LINES | |
TFLAG10_NO_CRLF | Don't insert cr/lf in the RTF text |
TFLAG10_USE_LAST_PARA_PROPS | When last paragraph marker is deleted upon RTF read, use its property for the resulting last paragraph |
TFLAG10_WRITE_RANDOM_LIST_TMPL_ID | Randomize the list template id when writing the RTF output |
TFLAG10_LOCK_DATA_FIELD | Write the fldlock tag for the data fields |
TFLAG10_SHRINK_RTF_IMAGES | Shrink images to fit during rtf input |
TFLAG10_PREFER_PLACEHOLDER_PICT | Use placeholder pictures if available for the linked images |
TFLAG10_NO_PICT_READ_MSG | do not show the message encountered during picture data import error |
TFLAG10_DONT_USE_BKSP_FONT | Use the font of the character being deleted for subsequent insertions. |
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.