TE Edit Control Win32 / Win64 Help
Product page

TerSetFlags5

Set additional flags or retrieve the values of the flags.

DWORD TerSetFlags5(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:
TFLAG5_NO_EXT_DROP:Disable text drop from other applications. This flag must be set before creating a control.
TFLAG5_GROUP_UNDOGroup the operations into one undo.
TFLAG5_NO_EXACT_ROW_HEIGHTTranslate 'Exact' row height to 'Minmum' row height during RTF input.
TFLAG5_RTL_CURSORReverse the direction of the left/right cursor keys for the RTL text.
TFLAG5_NO_KB_SELDisable text selection using the keyboard.
TFLAG5_WRITE_DOBGenerates the older "do" drawing object constuct during RTF output.
TFLAG5_NO_OBJ_IN_STATUS_LINEIgnore the embedded objects while display the status line number.
TFLAG5_NO_CLEAR_SPL_HISTDo not clear the spell-checker word history.
TFLAG5_NO_NORMALIZE_FNOTEDo not modified text selection to fully include footnote text and footnote marker.
TFLAG5_INPUT_TO_UNICODEConvert keyboard input or rtf input for a foreign language to unicode.
TFLAG5_NO_NORMALIZE_FIELDDo not modified text selection to fully include data field text in field enclosure tags in the rtf output.
TFLAG5_BEF_AND_AFT_HIDDENAllow the caret to stop both before and after the hidden text.
TFLAG5_SHOW_PAGE_SETUPShow the page-setup options instead of print-setup options on the printer setup dialog box.
TFLAG5_FULL_REPAGINATEFully repaginate the document during file read irrespective of the size of the document.
TFLAG5_PNG_RGB
Save png data in RGB format (true color format)
TFLAG5_NO_SHOW_SPACE_SYMDo not show the space symbol.
TFLAG5_OLD_HLINKAllow the old hyperlink mode supporting the HLINK style and hidden/double-underline text.
TFLAG5_NO_DRAG_ROW_LINEDo not show the drag cursor to drag the row break line.
TFLAG5_NO_SHAREDo not share font and printer resources between different instances of TE control.
TFLAG5_VARIABLE_PAGE_SIZE

Automatically adjust the page size to contain the entire content of the window. When this flag is set, TE fires the PageSizeChanging event (or TER_PAGE_SIZE_CHANGING message) to allow the user to override or modify the suggested page size.

This flag is effective only in the Page Mode.

TFLAG5_SAVE_PICT_AS_WMFSave jpeg, png, gif images as Windows Metafile image.
TFLAG5_NO_DRAG_CELL_LINEDo not show the drag cursor to drag the cell divider line and row indentation line.
TFLAG5_RULER_INDENT_FIXEDWhen apply indentation using the ruler to set of selected lines, set all lines to same indentation.
TFLAG5_TOP_ROW_TOOLBARDisplay only the top row of the toolbar. The TerRecreateToolbar function must be called after setting this flag to re-display the toolbar.
TFLAG5_NO_ADJ_FOR_TABLEDo not adjust the text selection within table.
TFLAG5_UNLIMITED_OLE_SPACEProvide for unlimited ole storage space.
TFLAG5_OLD_RULERDisplay the old style ruler.
TFLAG5_FRAME_TEXT_ONLYDo not write the frame structure while saving selected frame text to a buffer.
TFLAG5_PROTECT_DATA_FIELDMake al data field read-only.