Normalize after Maximize with Multiscreen


Context :
2 screens
  • Main screen 1280x1024 on the left of the secondary screen.
  • Secondary screen 1440x900 on the right of the first screen.
    When the window size is restored from Maximized status on the main screen it causes a bug on the secondary screen:
    Even if the window is fully displayed on the main screen, the right screen displays a part of the same window with different proportions.
    Another problem that might be linked with this issue is that when maximizing on the secondary screen, the window takes main screen size instead of secondary screen size.


tjscience wrote Dec 2, 2010 at 12:41 PM


Thanks for the feedback on the WPF Window. I hope that you have found the control useful. I will take a look at this. In the meantime, if you need to get this working, you can roll your own multiple monitor support by utilizing the System.Windows.Forms.Screen class.

Thanks again,

AEstienne wrote Dec 2, 2010 at 1:17 PM


This control is nearly perfect expect that it seems not to work with multiple monitors or resolutions.
I was using this other control : http://wpfwindow.codeplex.com/
But it has its lot of issues that I didn't manage to fix.

Your project seems to using much more WPF natives mechanisms and all code is managed.
The result is looks very stable although it needs some few fixes here and there.

I am going on my tests and I will give you some feedback.

Keep up the good work. :-)

AEstienne wrote Dec 2, 2010 at 2:02 PM

I found a topic about the same problem :

Obviously this issue might be due to old OS or drivers (my company uses Windows XP).
Unfortunately, the only workaround I found for now is to set Window.AllowsTransparency to false but it shows ugly borders.

wrote Feb 13, 2013 at 7:39 PM