GetWndSelLnLast (hwnd)

Returns the last line number of the selection in the window hwnd.