# mouseWheelMove

**URL:** <https://forum.juce.com/t/mousewheelmove/1153>\
**Category:** Audio Plugins\
**Created:** [October 18, 2006, 11:53pm UTC](https://forum.juce.com/t/mousewheelmove/1153 "2006-10-18T23:53:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![haydxn](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@haydxn](https://forum.juce.com/u/haydxn)\
**Post date:** [October 18, 2006, 11:53pm UTC](https://forum.juce.com/t/mousewheelmove/1153/1 "2006-10-18T23:53:33Z")

</div>

Thought i’d beef up my XYZControl plugin with some exciting new features, and i’ve encountered a slight problem.

The mouseWheelMove(…) function is not getting called in my control component. After ages of trying to debug it, i discovered that closing the editor window and reopening it suddenly enables the callback.

This was tested in energyXT (i don’t have any other host installed at the moment). Any ideas?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 19, 2006, 8:18am UTC](https://forum.juce.com/t/mousewheelmove/1153/2 "2006-10-19T08:18:32Z")

</div>

Wheel movements only go to the focused app - does it make a difference if you click on the plugin to focus it? Have you tried setting the editorRequiresKeyboardFocus flag to true?

---

<div class="post-metadata">

**Author:** ![haydxn](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@haydxn](https://forum.juce.com/u/haydxn)\
**Post date:** [October 19, 2006, 8:25am UTC](https://forum.juce.com/t/mousewheelmove/1153/3 "2006-10-19T08:25:56Z")

</div>

well, the purpose of the plug is an XY controller, so i have to click on it to check it 😃 so no, clicking doesn’t make it recieve the mouse wheel callback. My template projects always have editorRequiresKeyboardFocus set to true, so that’s not it.

close the editor and then reopen it, and it’s fine.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 19, 2006, 9:45am UTC](https://forum.juce.com/t/mousewheelmove/1153/4 "2006-10-19T09:45:00Z")

</div>

Well you could stick a breakpoint in the windowing code to see if any wheel messages are actually hitting the juce window, but I suspect this will be some kind of host weirdness.

---

<div class="post-metadata">

**Author:** ![haydxn](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@haydxn](https://forum.juce.com/u/haydxn)\
**Post date:** [October 19, 2006, 7:01pm UTC](https://forum.juce.com/t/mousewheelmove/1153/5 "2006-10-19T19:01:01Z")

</div>

hmm… tracktion does it too now, when both eXT and T were fine with XYZ before. i’ll make a barebones VST plugin without anything in to see if it’s a problem with the newer framework.

---

<div class="post-metadata">

**Author:** ![jayman](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jayman](https://forum.juce.com/u/jayman)\
**Post date:** [November 3, 2008, 7:59am UTC](https://forum.juce.com/t/mousewheelmove/1153/6 "2008-11-03T07:59:27Z")

</div>

I was wondering if this problem has been solved? My app stops receiving mouseWheel callback, and its unpredictable?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 9:59am UTC](https://forum.juce.com/t/mousewheelmove/1153/7 "2017-05-12T09:59:27Z")

</div>

Closed on May 12, 2017, 9:59am UTC


