# How to give components mouse Wheel events without click?

**URL:** <https://forum.juce.com/t/how-to-give-components-mouse-wheel-events-without-click/17341>\
**Category:** General JUCE discussion\
**Created:** [April 18, 2016, 8:15pm UTC](https://forum.juce.com/t/how-to-give-components-mouse-wheel-events-without-click/17341 "2016-04-18T20:15:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahbee](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Ahbee](https://forum.juce.com/u/Ahbee)\
**Post date:** [April 18, 2016, 8:15pm UTC](https://forum.juce.com/t/how-to-give-components-mouse-wheel-events-without-click/17341/1 "2016-04-18T20:15:14Z")

</div>

This is in windows 10 , I have two custom components in my view. Any time the mouse hovers above these components I want them to respond to `mouseWheelMove`. Which happens except the user has to click at least once on these components before `mouseWheelMove` takes effect. How do I make it so that the user does not have to click on the components to activate `mouseWheelMove`?

---

<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:** [April 19, 2016, 11:08am UTC](https://forum.juce.com/t/how-to-give-components-mouse-wheel-events-without-click/17341/2 "2016-04-19T11:08:22Z")

</div>

What do you mean by “custom components”? Certainly all juce components will get mousewheel events without needing to be focused.

---

<div class="post-metadata">

**Author:** ![Ahbee](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Ahbee](https://forum.juce.com/u/Ahbee)\
**Post date:** [April 19, 2016, 3:53pm UTC](https://forum.juce.com/t/how-to-give-components-mouse-wheel-events-without-click/17341/3 "2016-04-19T15:53:45Z")

</div>

Sorry I think this is actually a problem on my end. My GL camera is not being initialized properly until the first mouseDown. By custom I just meant a subclass of Component
