Notification when a component's screen position changes?

Is there any way of being notified (i.e. through a Listener) when a component’s position in the screen coordinate system changes? I see the ComponentListener and ComponentMovementWatcher do this to the relative top level component, but I was hoping there was a way to know when the entire window (and thus all its child components) moves. Or is this not possible?


Just add a ComponentListener to the MainWindow, then componentMovedOrResized is called when your app is moved on the desktop :slight_smile:

1 Like

Thanks CopperPhil - I was able to successfully do that in the Juce Demo App. However, I’m trying to do this in a Plugin Editor, and it doesn’t seem to be working. Is it possible to do this in a plugin editor?