Enable Windows Autosize function on Frameless QWidget
-
I'm wondering if there is a simple way to enable autosize function on frameless qwidget. Autosize is that option when you drag a window on desktop border and it resize accordnly to border position (top -> maximize, right -> half right desktop etc). I'm able to drag a frameless widget but I not able to find what can I do to enable that function when my mouse hit desktop border
-
Hi
Its possible with native api.
https://github.com/dfct/TrueFramelessWindowThis supports aero snap on windows so you can check out what its implemented.
-
@mrjj said in Enable Windows Autosize function on Frameless QWidget:
Hi
Its possible with native api.
https://github.com/dfct/TrueFramelessWindowThis supports aero snap on windows so you can check out what its implemented.
I used this and I added my application on it and it works!
There is something to fix like the right mouse button on the system buttons that hides the entire toolbar making the application unable to move!