TerSetTcField
Set the 'tc' field to the selected text.
BOOL TerSetTcField(hWnd, level, repaint)
HWND hWnd; | Window handle to access |
int level; | The 'tc' field level. The level value must be between 1 and 9 inclusive. |
BOOL repaint; | TRUE to repaint the screen after this operation |
Comment: This function can be used to set the 'tc' field to the text to be included in the table of contents. Please refer to the TerInsetToc2 function for more information.
Return Value: This function returns a TRUE value if successful.