mIRC Home    About    Download    Register    News    Help

Print Thread
#257143 16/03/16 11:14 AM
Joined: Sep 2005
Posts: 122
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 122
Hello,

When "scroll" is disabled and we use did -c on it "scroll" switched to enabled.

Example:
Code:
dialog test {
  size -1 -1 100 100
  scroll "", 1, 25 25 31 31, disable
}
1. dialog -m test test
2. did -c test 1 50

mIRC 7.4x, Windows 10
Regards.


when no one watching us
we are invisible
Joined: Dec 2002
Posts: 5,477
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,477
Thanks for your bug report. This is due to the Windows SetScrollPos() API which automatically enables the scrollbar when a position is set, so this is expected behaviour, although mIRC could work around it by re-disabling the scrollbar after /did -c is used. That said, this has been the behaviour since this feature was added in 2001 and scripts may very well depend on it, so changing it now would break existing scripts.


Link Copied to Clipboard