TE Edit Control Win32 / Win64 Help
Product page

TerSetDocTextFlow

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

BOOL TerSetDocTextFlow(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 , section, table, or paragraph level text flow specification.
BOOL refresh;TRUE to refresh the window after this operation.

Return Value: This function returns TRUE if successful.