TE Edit Control Win32 / Win64 Help
Product page

TerRotateFrameText

Rotate the text within a frame or a text box.

BOOL TerRotateFrameText(hWnd, dialog, LineNo, direction, repaint)
HWND hWnd;The handle of the window to be accessed.
BOOL dialog;Set to TRUE to show a dialog box to the user.
long LineNo;The line number within a frame. You can also specify the frame id by specifying a negative value.
int direction:Text flow direction. Choose one of the following values:
TEXT_HORZ:Horizontal text flow
TEXT_TOP_TO_BOT:Top-to-bottom text flow
TEXT_BOT_TO_TOP:Bottom-to-top text flow
BOOL repaint;Set to TRUE to repaint the screen after this operation.

Return Value: The function returns TRUE when successful. Otherwise, it returns a FALSE value.

TerSelectFrameText

Select entire text in the current frame or text drawing object.

BOOL TerSelectFrameText(hWnd, repaint)
HWND hWnd;The handle of the window to be accessed.
BOOL repaint;TRUE to refresh the screen after this operation.

Return Value: This function returns TRUE when successful.