I'm using the framework in a multi-monitor setting, where the two monitors differ in vertical position, specifically the primary monitor is 'lower' than the secondary, so the secondary monitor's Top is negative.
In this scenario it is not possible to drag a floating window into the area of the secondary monitor that is 'higher' than the top of the primary monitor, i.e. where the resulting Top will be lower that the Top of the primary monitor.
To fix:
1) In FloatWindow.SetBoundsCore, change SystemInformation.WorkingArea to SystemInformation.VirtualScreen
2) In DockPanel.DockDragHandler.Show, change GetAllScreenBounds() to SystemInformation.VirtualScreen
be well
-h-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm using the framework in a multi-monitor setting, where the two monitors differ in vertical position, specifically the primary monitor is 'lower' than the secondary, so the secondary monitor's Top is negative.
In this scenario it is not possible to drag a floating window into the area of the secondary monitor that is 'higher' than the top of the primary monitor, i.e. where the resulting Top will be lower that the Top of the primary monitor.
To fix:
1) In FloatWindow.SetBoundsCore, change SystemInformation.WorkingArea to SystemInformation.VirtualScreen
2) In DockPanel.DockDragHandler.Show, change GetAllScreenBounds() to SystemInformation.VirtualScreen
be well
-h-
Thanks, updated in SVN.
Since I don't have a multi-monitor environment, could you help to check if the opened bugs fixed or not? If yes, I will close these bugs.
It fixes #1425279 ("Float windows on multiple screens").
I haven't been able to reproduce bug #1697374 ("redraw bug If MainForm moved outside main screen and resize")
be well
-h-