-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix restoring position of maximized and minimized window too
If the window was closed in the maximized (or, more rarely, but still possible, minimized) state, restore it in the same state during the next run. Take care to use the appropriate show command for the ShowWindow() call done in Main(), as using SW_SHOWMAXIMIZED with SetWindowPlacement() doesn't work quite as expected.
- Loading branch information
1 parent
b924e5c
commit 47d8577
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters