mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-22 05:40:11 +00:00
Version 2.02
This commit is contained in:
parent
46b2ce5f54
commit
d6f7f51395
3 changed files with 12 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
<TargetFramework>net5.0-windows</TargetFramework>
|
<TargetFramework>net5.0-windows</TargetFramework>
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<Version>2.0.1</Version>
|
<Version>2.0.2</Version>
|
||||||
<AssemblyName>MSFSPopoutPanelManager</AssemblyName>
|
<AssemblyName>MSFSPopoutPanelManager</AssemblyName>
|
||||||
<RootNamespace>MSFSPopoutPanelManager</RootNamespace>
|
<RootNamespace>MSFSPopoutPanelManager</RootNamespace>
|
||||||
<ApplicationIcon>WindowManager.ico</ApplicationIcon>
|
<ApplicationIcon>WindowManager.ico</ApplicationIcon>
|
||||||
|
|
|
@ -240,14 +240,17 @@ namespace MSFSPopoutPanelManager
|
||||||
|
|
||||||
switch (rect.Bottom)
|
switch (rect.Bottom)
|
||||||
{
|
{
|
||||||
|
case 1009:
|
||||||
case 1080:
|
case 1080:
|
||||||
return FlightSimResolution.HD;
|
return FlightSimResolution.HD;
|
||||||
|
case 1369:
|
||||||
case 1440:
|
case 1440:
|
||||||
return FlightSimResolution.QHD;
|
return FlightSimResolution.QHD;
|
||||||
|
case 2089:
|
||||||
case 2160:
|
case 2160:
|
||||||
return FlightSimResolution.UHD;
|
return FlightSimResolution.UHD;
|
||||||
default:
|
default:
|
||||||
return FlightSimResolution.QHD;
|
return FlightSimResolution.HD;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,6 +329,9 @@ namespace MSFSPopoutPanelManager
|
||||||
var point = new Point { X = x, Y = y };
|
var point = new Point { X = x, Y = y };
|
||||||
Cursor.Position = new Point(point.X, point.Y);
|
Cursor.Position = new Point(point.X, point.Y);
|
||||||
|
|
||||||
|
// Wait for mouse to get into position
|
||||||
|
Thread.Sleep(1000);
|
||||||
|
|
||||||
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, point.X, point.Y, 0, 0);
|
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, point.X, point.Y, 0, 0);
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, point.X, point.Y, 0, 0);
|
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, point.X, point.Y, 0, 0);
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
# Version History
|
# Version History
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
|
## Vesion 2.0.2.0
|
||||||
|
* Added one second delay on mouse click when the application is trying to separate the chained pop out windows.
|
||||||
|
|
||||||
## Vesion 2.0.1.0
|
## Vesion 2.0.1.0
|
||||||
* Changed how screen resolution is detected. Used vertical instead of horizontal resolution to account for ultra wide monitors.
|
* Changed how screen resolution is detected. Used vertical instead of horizontal resolution to account for ultra wide monitors.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue