Home » U++ Library support » TopWindow&PopUp, TrayIcon » TopWindow::SerializePlacement () on dual-head display
TopWindow::SerializePlacement () on dual-head display [message #34258] |
Mon, 07 November 2011 09:42 |
Tom1
Messages: 1217 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
I'm having trouble using SerializePlacement() with a dual head display system. It always pulls windows stored on the secondary display (i.e. the right side display) to the primary display (i.e. left side) when restored.
I noticed changing the limit to use GetVirtualWorkArea() instead of GetWorkArea() rectifies this problem on Windows. (No idea what happens on Linux though.)
Anyway, would it be possible to have this changed in TopWindow.cpp:: TopWindow::SerializePlacement(Stream& s, bool reminimize): as follows:
if(s.IsLoading()) {
if(mn) rect = overlapped;
Rect limit = GetWorkArea();
To this:
if(s.IsLoading()) {
if(mn) rect = overlapped;
Rect limit = GetVirtualWorkArea();
Please?
Best regards,
Tom
|
|
|
|
|
TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Mon, 07 November 2011 09:42
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: mirek on Mon, 07 November 2011 09:51
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Mon, 07 November 2011 10:56
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Mon, 07 November 2011 15:54
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Fri, 18 May 2012 15:36
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Wed, 23 May 2012 12:58
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: mirek on Wed, 23 May 2012 15:40
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Thu, 24 May 2012 08:53
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: mirek on Thu, 24 May 2012 08:59
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: Tom1 on Thu, 24 May 2012 09:02
|
|
|
Re: TopWindow::SerializePlacement () on dual-head display
By: unodgs on Mon, 07 November 2011 10:52
|
Goto Forum:
Current Time: Sat Jun 08 09:30:51 CEST 2024
Total time taken to generate the page: 0.01323 seconds
|