We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a51f5e + c53f5aa commit d95e746Copy full SHA for d95e746
1 file changed
src/ManagedShell.WindowsTasks/ApplicationWindow.cs
@@ -700,6 +700,7 @@ private void makeForeground()
700
701
internal IntPtr DoClose()
702
{
703
+ makeForeground();
704
IntPtr retval = IntPtr.Zero;
705
NativeMethods.SendMessageTimeout(Handle, (int)NativeMethods.WM.SYSCOMMAND, NativeMethods.SC_CLOSE, 0, 2, 200, ref retval);
706
0 commit comments