Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB6: enabling mousewheel for controls

Tags:

vb6

mousewheel

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

like image 604
Fuxi Avatar asked Mar 01 '23 00:03

Fuxi


1 Answers

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.

like image 146
MarkJ Avatar answered Mar 11 '23 21:03

MarkJ