Wednesday, January 16, 2008

The mouse wheel crusade

Finally it's done. After two days of google'ing, researching and trying I have found the solution:

For all you VST GUI coders (I don't mean VSTGui, but your own windows GUI) that want to use the mouse wheel, just add SetFocus(hwnd) into your WM_xBUTTONDOWN handling.

So, now you can change the value of a knob by simply moving the mouse over it an turning the mousewheel. If the knob won't turn, just click once into the GUI (anywhere).



Post a Comment

<< Home