Scroll mIRC窗口中的滚动条

Scroll mIRC窗口中的滚动条,scroll,scrollbar,irc,mirc,Scroll,Scrollbar,Irc,Mirc,是否可以在自定义mIRC窗口中删除或隐藏(隐藏以允许鼠标旋转)滚动条。垂直滚动条是特定的 如果你看图片的最右边,你会看到滚动条 有没有办法把它去掉 否,无法删除主自定义窗口中的滚动条。是,可以删除 我编写了这个AHK脚本,它将在mIRC中隐藏滚动条,并且即使在调整窗口大小以及最小化和恢复窗口后也将保持隐藏 把它加载进去,一旦你点击一个频道或者开关条上的任何东西,它就会开始工作 ~LButton:: MouseGetPos, , , , OutputVarControl if (OutputVar

是否可以在自定义mIRC窗口中删除或隐藏(隐藏以允许鼠标旋转)滚动条。垂直滚动条是特定的

如果你看图片的最右边,你会看到滚动条

有没有办法把它去掉


否,无法删除主自定义窗口中的滚动条。

是,可以删除

我编写了这个AHK脚本,它将在mIRC中隐藏滚动条,并且即使在调整窗口大小以及最小化和恢复窗口后也将保持隐藏

把它加载进去,一旦你点击一个频道或者开关条上的任何东西,它就会开始工作

~LButton::
MouseGetPos, , , , OutputVarControl
if (OutputVarControl = "mIRC_SwitchBar1" or OutputVarControl = "ScrollBar1")
{
WinWait, ahk_class mIRC
Control, Style, Hide, ScrollBar1
ControlGetPos, x,, Width,, mIRC_Channel1
ControlMove, mIRC_Channel1, ,, (Width + 18)
ControlGetPos, x,, Width,, mIRC_Query1
ControlMove, mIRC_Query1, ,, (Width + 18)
ControlGetPos, x,, Width,, mIRC_Status1
ControlMove, mIRC_Status1, ,, (Width + 18)
ControlGetPos, x,y, Width,Height, ListBox1
ControlMove, ListBox1, (x - 18),, ,
}
else if (OutputVarControl = "MSTaskListWClass1")
{
sleep, 500
if WinActive("ahk_class mIRC"){
WinWait, ahk_class mIRC
Control, Style, Hide, ScrollBar1
WinGetPos, X, Y, W, H, ahk_class mIRC
WinMove, ahk_class mIRC, , , , (W + 18),,
WinGetPos, X, Y, W, H, ahk_class mIRC
WinMove, ahk_class mIRC, , , , (W - 18),,
ControlGetPos, x,, Width,, mIRC_Channel1
ControlMove, mIRC_Channel1, ,, (Width + 18)
ControlGetPos, x,, Width,, mIRC_Query1
ControlMove, mIRC_Query1, ,, (Width + 18)
ControlGetPos, x,, Width,, mIRC_Status1
ControlMove, mIRC_Status1, ,, (Width + 18)
ControlGetPos, x,y, Width,Height, ListBox1
ControlMove, ListBox1, (x - 18),, ,
}
}
return
假设您使用mIRC时,在mIRC客户机中一次最大化一个窗口,如下所示。但是您可以打开任意多个通道/查询窗口,脚本可以处理它们之间的切换


这是一个外部程序,也就是说,如果他想让某人按照自己的意愿使用脚本,那么如果不执行同样的程序,就不可能实现。此外,在他重新调整窗口大小后,这将停止工作,他需要再次执行此步骤。总的来说,这是一条绷带,在任何其他情况下都是无用的。winexp工作正常,有点麻烦,但对我来说是值得的。我感谢你的帮助D