开发者

VB6: enabling mousewheel for controls

开发者_开发百科

can someone tell me if there's an easy way to enable mousewheel for controls (in runtime)? i want to use the wheel for scrolling controls as soon as the mouse is over them.

thx


Karl E Peterson shows how to make any control respond to the mousewheel in this nice article in Visual Studio Magazine, with VB6 code you can just drop into your project.


Have you looked at this vbforums example code: Enabling MouseWheel Support with any control

Ref.


One very easy way is to install VBScroll by Shahin Gasanov. This is to enable scroll bars in the VB6 IDE. Even if that's no what you meant by 'the runtime' then it's worth having anyhow ;)


This solution works fine for me. Method 1 http://support.microsoft.com/kb/837910

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜