-
-
Notifications
You must be signed in to change notification settings - Fork 610
Open
Description
Currently, enabling Frameless=True leads to several issues, including but not limited to:
- Inability to resize the window
- Disappearance of the minimize animation
- Failure to restore the window by clicking the taskbar icon after minimizing
However, WinForms + WebView2 can achieve a nearly perfect frameless window experience. You can refer to this repository for a working example:
👉 https://github.com/XuanchenLin/WinFormedge
This library demonstrates how to build modern, borderless WinForms applications using HTML, CSS, and JavaScript via Microsoft WebView2—complete with features like draggable title bars (appRegion: "drag" in CSS/JS) and proper window management.
I’m wondering: Can pywebview achieve similar behavior on Windows?
I also have a working demo based on .NET Framework 4.7.2 that runs smoothly on Windows 10.
djrobby
Metadata
Metadata
Assignees
Labels
No labels
