TE Edit Control Win32 / Win64 Help
Product page

TerApplyHyperlink

Apply hyperlink field to the selected text.

int TerApplyHyperlink(hWnd, code, repaint)
HWND hWnd;Handle of the window to be accessed
LPBYTE code;The url or other information for the hyperlink
BOOL repaint;Repaint the window after this operation

Comment: Please note that the hyperlink cursor must be enabled using the ID_SHOW_HYPERLINK_CURSOR to show the hyperlink cursor.

Return Value: This function returns TRUE if successful.