(I apologize for my verbiage, I am new to JUCE).
I have a component _rMidiTrackDisplay
I have a Scrollbar attached at the bottom of the component
I position the ScrollBar at the bottom of the _rMidiTrackDisplay (component) As Such:
When I move the mouse over the ScrollBar (anywhere on it) it causes a Paint event to fire (void _rMidiTrackDisplay::paint(Graphics& Graphics))
I am not clicking on the scrollbar, the mouse buttons are not down.
I am simply moving the mouse over the scroll bar.
The Graphics.getClipBounds() in paint() is the entire client area of the Scroll Bar.
Why does this happen?
How can I prevent It?
Thanks in advance