Because of swapping between hi- and lo- res monitors, it is possible for a floating panel to be saved to a position that is off screen on a lo res monitor. Is there a method to find off-screen panels and then move them on screen?
You can enumerate dock panels, then check whether a panel Parent is a dock site and whether it is floating dock site (using IsFloatingSite property). And if so - adjust the bounds of its parent form.
Comments