TE Edit Control Win32 / Win64 Help
Product page

TerSetFlags9

Set additional flags or retrieve the values of the flags.

DWORD TerSetFlags9(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:
TFLAG9_TREAT_DATA_FIELD_AS_ATOMSelect entire data-field for deletion or copying to clipboard.
TFLAG9_NO_COMMENTSDo not show comment.
TFLAG9_ENABLE_POPUP_MENUEnable the default right-click menu.
TFLAG9_INVOKE_HYPERLINKEnable automatic invoking of the hyperlinks without requiring to handle the Hypertext event within your application.
TFLAG9_FIRE_FONT_CHECKFire OverrideFont event to allow an override of current font during rtf input or keyboard entry.

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.