Author: Jonas Bilinkevicius
How can I get the number of the first line that is shown in a TRichEdit when it has
been scrolled down?
Take a look at source of messages.pas unit and search for "EM_" to see a list of
1 2 RichEdit1.Perform(EM_GETFIRSTVISIBLELINE, 0, 0)