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_ATOM | Select entire data-field for deletion or copying to clipboard. |
TFLAG9_NO_COMMENTS | Do not show comment. |
TFLAG9_ENABLE_POPUP_MENU | Enable the default right-click menu. |
TFLAG9_INVOKE_HYPERLINK | Enable automatic invoking of the hyperlinks without requiring to handle the Hypertext event within your application. |
TFLAG9_FIRE_FONT_CHECK | Fire 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.