在窗口的other事件里写以下代码:
if message.number = 522 then
if inthigh(wparam) < 0 then
Send ( handle(this), 277, 1, 0 )
else
Send ( handle(this), 277, 2, 0 )
end if
end if
注意需要设置窗口的VScrollBar=TRUE
博客给出在窗口的other事件里的代码,根据message.number和inthigh(wparam)的值执行不同的Send操作,同时提醒需设置窗口的VScrollBar为TRUE。
在窗口的other事件里写以下代码:
if message.number = 522 then
if inthigh(wparam) < 0 then
Send ( handle(this), 277, 1, 0 )
else
Send ( handle(this), 277, 2, 0 )
end if
end if
注意需要设置窗口的VScrollBar=TRUE
6804
885
762

被折叠的 条评论
为什么被折叠?