TE Edit Control Win32 / Win64 Help
Product page

TerLineSelected

Check if a text line is selected in the highlighted block of text.

BOOL TerLineSelected(hWnd, LineNo)
HWND hWnd;Handle of the window to be accessed
long LineNo;text line number.

Return Value: This function returns TRUE if a text block is highlighted in the control and the given line is also highlighted. It also returns TRUE if no text block is highlighted in the editor. It returns FALSE if a text block is highlighted but the given line is not.