TE Edit Control Win32 / Win64 Help
Product page

TerSetFlags6

Set additional flags or retrieve the values of the flags.

DWORD TerSetFlags6(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:
TFLAG6_WRITE_DBCS:Write DBCS character codes for the Unicode characters.
TFLAG6_WRITE_DEFAULT_COLORWrite the default color to the rtf output during clipboard copy operation.
TFLAG6_DONT_WRITE_PICT_PATHWrite linked pictures without full path.
TFLAG6_HI_RESUse a printer-independent hi-resolution metrics to format the text. Use this flag to obtain printer independent word-wrapping and pagination.
TFLAG6_DONT_PROCESS_TABSet to True to enable the use of the Tab key to move out of the TOC ActiveX control.
TFLAG6_SHOW_PICT_IN_PIXEL_SIZEEmbed the picture in real pixel size (ignore the recommended size).
TFLAG6_DONT_PROCESS_BULLET_KEYSDo not use the Enter/Tab keys for manipulating bullets.
TFLAG6_XLATE_UNICODEEnable unicode keyboard input processing for the languages that do not use an IME editor for input.
TFLAG6_ALLOW_CELL_OVERFLOWAllow text to overflow in a fixed height table cell.
TFLAG6_INSERT_DROP_PICT_AS_LINKInsert dropped picture files as linked pictures (and not as embedded pictures).
TFLAG6_LIST_TO_TEXT_IN_HTMLConvert lists to text before html save.
TFLAG6_SUPPORT_DRAGON_SPEECHSupport messages for Dragon Speech program.
TFLAG6_NO_LINK_MSGDo not display a pop-up message when the mouse hovers over a text link.
TFLAG6_NO_TRACK_MSGDo not display a pop-up message when the mouse hovers over a track-change text.
TFLAG6_SWAP_CR_LINE_BREAKGenerate line-break when Return is pressed, and generate Return when Shift-Return is pressed.
TFLAG6_DEL_CELL_TEXTOn deletion, delete cell content, but not cell structure. This flag is turned on by default.

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.