Cool!
I see you used the d parameter in your OnMouseWheel function... have you seen any problems with the control not moving if the wheel is turned slowly? I found that d was set to 0 if you turned the wheel slowly, because each event was only a fraction ( 1/3 I think ).
I was thinking of fixing this in IPlug either by accumulating the fractions and only calling OnMouseWheel when it got to more than 1, or maybe changing d to be a double.
|