TerInsertRtfFile
Insert an RTF file at the specified cursor location.
BOOL TerInsertRtfFile(hWnd, FileName, line, column, repaint)
HWND hWnd; | Handle of the window to be accessed |
LPBYTE FileName; | The name of the RTF file. |
long line; | line location (base 0) where the text will be inserted. You can also set the 'line' parameter to minus 1 to insert the rtf document at the current cursor position. Or, set it to minus 2 to insert the rtf file at the end of the current document. |
int column; | column location (base 0) where the text will be inserted. This parameter is ignored when the 'line' parameter is set to minus 1 or minus 2. |
BOOL repaint; | TRUE to refresh the window after this operation |
Description: Please refer to the InsertRtfBuf function for further description of the 'line' and 'column' arguments.
This function is available in the 'word wrap' mode only.
Return Value: This function returns TRUE if successful.