-
-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
I'm experimenting with an app that uses WinUIEx.
Almost of all are already implemented within WinAppSdk expect for min width, min height and persistence id. While min width and height can be set using WndProc when window tries to get the info with message code WM_GETMINMAXINFO, I couldn't find any alternatives for persistence id.
I looked into the WinUIEx source code and I find actual store/restore routine here:
WinUIEx/src/WinUIEx/WindowManager.cs
Line 468 in ea41e17
| Windows.Win32.PInvoke.SetWindowPlacement(new Windows.Win32.Foundation.HWND(_window.GetWindowHandle()), in retobj); |
If I understand this correctly, this stores WINDOWPLACEMENT struct data in case dev customizes that data in their code using SetWindowPlacement.
If I don't set that, is it necessary to set?
Metadata
Metadata
Assignees
Labels
No labels