TE Edit Control Win32 / Win64 Help
Product page

TerGetHypertextEx

Retrieve the hypertext information at the cursor position.

BOOL TerGetHypertextEx(hWnd, text, code, select)
BOOL TerGetHypertext2(hWnd, LineNo, ColNo, text, code, select)
BOOL TerGetHypertextU(hWnd, LineNo, ColNo, UnicodeText, code, select)
HWND hWnd;The handle of the window to be accessed
long LineNo;The line number to examine. Set to -1 to use the current line and current column number. The TerGetHypertextEx function automatically examines the current text position.
int ColNo;The text column number to examine.
LPBYTE text;Pointer to receive the text part of the current hypertext
LPWORD UnicodeText;Pointer to receive the text part of the current hypertext. This parameter is used only by the TerGetHypertextU function.
LPBYTE code;Pointer to receive the hidden code part of the current hypertext.
BOOL select;TRUE to select (highlight) the current hypertext code and phrase.

Return Value: This function returns TRUE if hypertext is found at the current cursor location.