Hi Jules & community !
I have a simple ListBox with custom components inside. Drag and drop is working fine, but I’d like to do “custom” stuff when the drag operation is starting.
I tried to overload the mouseDown and mouseDrag methods of juce::Component, both inside my custom component and in the listBox itself…but the methods never get called
virtual void mouseDown(const juce::MouseEvent &e )
virtual void mouseDrag(const juce::MouseEvent &e )
I guess that’s pretty normal because otherwise, the ListBox default behaviour wouldn’t work …but I’m also sure there is a way to do this.
I tried to mess around with setInterceptMouseClicks but no luck so far.
What’s the standard, juce, way to do this ?