TE Edit Control Win32 / Win64 Help
Product page

TerSetFlags7

Set additional flags or retrieve the values of the flags.

DWORD TerSetFlags7(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:
TFLAG7_NO_RTL_FONT:Do not use right-to-left fonts.
TFLAG7_AUTO_NEW_ROWCreate a new row if the tab key is hit at the last column of the last row of a table. This flag is turned on by default.
TFLAG7_NO_TRACK_CHANGE_LINEDo not draw track-change indicator line.
TFLAG7_SHOW_SPACES_AT_PARA_ENDShow ending spaces before the end of the paragraph.
TFLAG7_SHRINK_PICT_TO_PAGEShrink to size the picture to fit within a page, column, or a table cell.
TFLAG7_DISABLE_RULERDisable ruler.
TFLAG7_ALWAYS_FIRE_MODIFYAlways fire the modified event. By default, the editor fires the modified event only for the first modification.
TFLAG7_WRITE_LISTTEXTGenerate listtext tag on RTF output so Crystal Report can show bullets.
TFLAG7_SET_BOX_CLIPPINGDraw the table cell and frame text within its boundaries.
TFLAG7_NO_SPELLCHECK_FIELDSDo not spell-check the field text.
TFLAG7_NO_INTERNETDisable Internet access.
TFLAG7_NO_TABLE_AUTO_FITDisable automatic table column width adjustment.

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.