TE Edit Control Win32 / Win64 Help
Product page

TerSetParaTextFlow

Set the right-to-left/left-to-right text flow option for the paragraph.

BOOL TerSetParaTextFlow(hWnd, dialog, TextFlow, refresh)
HWND hWnd;The handle of the window to be accessed
BOOL dialog;Set to TRUE to show the user dialog.
int TextFlow;The text flow constant can be one of the following:
FLOW_LTR:Left-to-right text flow
FLOW_RTLRight-to-left text flow
FLOW_DEFDefault text flow. The flow will be determined by the document, section or table level text flow specification.
BOOL refresh;TRUE to refresh the window after this operation.

Return Value: This function returns TRUE if successful.