mIRC Homepage
Posted By: asdfasdf Getting the scroll status of a window - 26/06/13 04:20 PM
Hi mIRC friends,

is there any way to get the scroll status of a window?

I was unable to find a suitable $window() or $line() property or any other possible solution.

Say you're scrolled up in a window, is it possible to tell if you are, and maybe to which line you're scrolled up to?

Thank you very much.
Posted By: 5618 Re: Getting the scroll status of a window - 26/06/13 04:52 PM
No, this is, afaik, not (natively) possible and has been discussed before. The only condition under which it is possible to detect is when the channel buffer has reached it maximum size. If you are scrolled up, the buffer size will exceed its maximum size and only flush when you scroll down.

Given that this situation is never guaranteed, it's not reliable.
Posted By: asdfasdf Re: Getting the scroll status of a window - 26/06/13 05:34 PM
Thanks for your response.

Where is the channel buffer information stored?

Edit: I take it it's in the [options] section (first token of n3) of the mirc.ini, always $gettok($readini($mircini,options,n3),1,44)?
© mIRC Discussion Forums