TerConnectTextBoxes
Link two text boxes.
BOOL TerConnectTextBoxes(hWnd, FromFID, ToFID)
HWND hWnd; | Handle of the window to be accessed |
int FromFID; | Source frame id. Specify a number between 1 and total frames -1. |
int ToFID; | Target frame id. Specify a number between 1 and total frames -1. |
Comment: This method is used to link two text boxes. The text overflow from the first text box is displayed in the target text-box. You can use this method to construct a linked list of two or more than two text boxes.
Return Value: This function returns a TRUE value when successful.
TerCreateParaFrameId
Create a paragraph frame id without inserting it in the document.
int TerCreateParaFrameId(hWnd, x, y, width, height)
HWND hWnd; | Editor window to access |
int x; | X location of the frame rectangle specified in the Twips unit. The x location is relative to the left margin of the page. Specify -1 to assume the current cursor position for the x value. |
int y; | Y position of the frame rectangle specified in the Twips unit. The Y position is relative to the beginning of the current paragraph. Specify -1 to assume the current cursor position for the y value. |
int width; | Initial width of the frame rectangle in the Twips unit. Specify -1 to use the default value. |
int height; | Initial height of the frame rectangle in the Twips unit. Specify -1 to use the default value. |
Return Value: When successful this function returns the paragraph frame id of the new paragraph frame. Otherwise it return 0.