mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2008
Posts: 95
A
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2008
Posts: 95
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.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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.

Joined: Dec 2008
Posts: 95
A
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2008
Posts: 95
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)?

Last edited by asdfasdf; 26/06/13 05:43 PM.

Link Copied to Clipboard