TE Edit Control Win32 / Win64 Help
Product page

TerDeleteHypertext

Delete the hypertext phrase and the associated hidden text.

BOOL TerDeleteHypertext(hWnd, LineNo, ColNo, repaint)
HWND hWnd;The handle of the window to be accessed
long LineNo;Line number of the hypertext phrase. Set to -1 to use the current line number and column number.
int ColNo;Column number of the hypertext phrase. This parameter is not used when the 'LineNo' argument is set to -1.
BOOL repaint;repaint the screen after this operation.

Return Value: This function returns TRUE if a hypertext phrase is found at the given location and is deleted successfully.