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
精彩评论