> It may turn out to be too slow updating it constantly, but there are
> several EM_ constants, used with SendMessage, that will give you access to
> much more functionality in an RTB.
> EM_GETFIRSTVISIBLELINE will return the top line showing.
> Dan Appleman's API book covers most of these calls, as does the Win32API
> Help file from MS, if you have it.
> --
> --
> > Hello, i am currently having problems loading large files into a rich
text
> > control, possibly because my program is too slow. It colour codes text
> and
> > i have decided to do it one page at a time + buffer at the top and
bottom
> > instead of all at once - how do i make the program just process the
> current
> > page, as there is no way of knowing what lines start and stop on a rich
> text
> > control window and when scrolling how do i update this one or x lines at
a
> > time.
> > Basically, how do i write a text editor that can appear to colour code
> > ~50000 lines of text?
> > Thank you loads for your help!