Skip to content

Save and restore window position#1031

Merged
chreden merged 5 commits intomasterfrom
issue/1010
Oct 20, 2022
Merged

Save and restore window position#1031
chreden merged 5 commits intomasterfrom
issue/1010

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Oct 18, 2022

Save the window placement while the program is running.
When starting up use the previous window placement if there's one available.
Closes #1010

Create the window inside the `create_application` call - this way we can use the settings to immediately `SetWindowPlacement`. If we don't do this the window appears in one place and moves.
#1010
@chreden chreden added this to the Next milestone Oct 18, 2022
@chreden chreden requested a review from makotocchi October 18, 2022 00:56
@chreden chreden self-assigned this Oct 18, 2022
@chreden chreden merged commit 24d8164 into master Oct 20, 2022
@chreden chreden deleted the issue/1010 branch October 20, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save Layout?

2 participants