Change with monitor
Posted: 03 Nov 2018 00:44
On windows I use ultramon to deal with multimonitor setups(specifically the display profiles).
Basically one can use it to switch the arrangement of displays.
The problem is that XYplorer, when opened or in tray, does not switch the window to the new desktop top that it is on. Other programs fail to do this too but some move the window correctly.
It would be nice if xyplorer moved it's window(possibly as an option) when the display settings change.
While this might be a difficult problem, at least have it move to the main display if it changes(which is what I use) which should be much simplier.
1. Detect display changes(surely there is a windows api hook).
2. If main display has changed, move window to new display. This should be simple since I think the coordinate system is related to the main display, so simply setting the position to the same that it was before the change might do it.
Alternatively, could remember each view setting per profile(does not need to hook up to ultramon... could just remember the monitor configurations and each one has a unique position and scale).
Thanks.
Basically one can use it to switch the arrangement of displays.
The problem is that XYplorer, when opened or in tray, does not switch the window to the new desktop top that it is on. Other programs fail to do this too but some move the window correctly.
It would be nice if xyplorer moved it's window(possibly as an option) when the display settings change.
While this might be a difficult problem, at least have it move to the main display if it changes(which is what I use) which should be much simplier.
1. Detect display changes(surely there is a windows api hook).
2. If main display has changed, move window to new display. This should be simple since I think the coordinate system is related to the main display, so simply setting the position to the same that it was before the change might do it.
Alternatively, could remember each view setting per profile(does not need to hook up to ultramon... could just remember the monitor configurations and each one has a unique position and scale).
Thanks.