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_UNDO | Group the operations into one undo. |
TFLAG5_NO_EXACT_ROW_HEIGHT | Translate 'Exact' row height to 'Minmum' row height during RTF input. |
TFLAG5_RTL_CURSOR | Reverse the direction of the left/right cursor keys for the RTL text. |
TFLAG5_NO_KB_SEL | Disable text selection using the keyboard. |
TFLAG5_WRITE_DOB | Generates the older "do" drawing object constuct during RTF output. |
TFLAG5_NO_OBJ_IN_STATUS_LINE | Ignore the embedded objects while display the status line number. |
TFLAG5_NO_CLEAR_SPL_HIST | Do not clear the spell-checker word history. |
TFLAG5_NO_NORMALIZE_FNOTE | Do not modified text selection to fully include footnote text and footnote marker. |
TFLAG5_INPUT_TO_UNICODE | Convert keyboard input or rtf input for a foreign language to unicode. |
TFLAG5_NO_NORMALIZE_FIELD | Do not modified text selection to fully include data field text in field enclosure tags in the rtf output. |
TFLAG5_BEF_AND_AFT_HIDDEN | Allow the caret to stop both before and after the hidden text. |
TFLAG5_SHOW_PAGE_SETUP | Show the page-setup options instead of print-setup options on the printer setup dialog box. |
TFLAG5_FULL_REPAGINATE | Fully repaginate the document during file read irrespective of the size of the document. |
TFLAG5_PNG_RGB | |
TFLAG5_NO_SHOW_SPACE_SYM | Do not show the space symbol. |
TFLAG5_OLD_HLINK | Allow the old hyperlink mode supporting the HLINK style and hidden/double-underline text. |
TFLAG5_NO_DRAG_ROW_LINE | Do not show the drag cursor to drag the row break line. |
TFLAG5_NO_SHARE | Do 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_WMF | Save jpeg, png, gif images as Windows Metafile image. |
TFLAG5_NO_DRAG_CELL_LINE | Do not show the drag cursor to drag the cell divider line and row indentation line. |
TFLAG5_RULER_INDENT_FIXED | When apply indentation using the ruler to set of selected lines, set all lines to same indentation. |
TFLAG5_TOP_ROW_TOOLBAR | Display 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_TABLE | Do not adjust the text selection within table. |
TFLAG5_UNLIMITED_OLE_SPACE | Provide for unlimited ole storage space. |
TFLAG5_OLD_RULER | Display the old style ruler. |
TFLAG5_FRAME_TEXT_ONLY | Do not write the frame structure while saving selected frame text to a buffer. |
TFLAG5_PROTECT_DATA_FIELD | Make al data field read-only. |