You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varhWnd=newHWND(WinRT.Interop.WindowNative.GetWindowHandle(MainWindow));if(PInvoke.IsIconic(hWnd)&&MainWindow.AppWindow.PresenterisOverlappedPresenteroverlappedPresenter){overlappedPresenter.Restore();// OR overlappedPresenter.Restore(false);// OR PInvoke.ShowWindow(hWnd, SHOW_WINDOW_CMD.SW_RESTORE);}PInvoke.SetForegroundWindow(hWnd);
Describe the bug
This is related to this issue in Dev Home, where attempting to restore a maximized window when it's in iconic mode does not get maximized again.
Code where this behavior occurs:
Workaround:
Steps to reproduce the bug
Section copied from the original issue:
Expected behavior
Section copied from the original issue:
Screenshots
No response
NuGet package version
Windows App SDK 1.5.5: 1.5.240627000
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: