Aero Snap with borderless window in Qt

I am trying to create a Metro style interface in Qt, which means that you are not using the Windows 7 Aero border. I already set up a borderless window and added code to make it draggable and buttons to minimize, maximize and close. However, Aero Snap does not work.

I know that this is possible because Visual Studio 2012, MS Word 2013 and Steam have unlimited windows with Aero Snap.

How can I implement Aero Snap in a limitless Qt application? Thanks.

+6
source share
1 answer

I searched for this Qt window and finally found a solution.

This GitHub example does the job like a charm (thanks deimos1877)! https://github.com/deimos1877/BorderlessWindow

Be sure to use the Visual Studio compiler to get the desired DLL, and it should work. This example includes support for aerial photographs, a borderless window, minimizing the effect, aerodynamic shadows.

+2
source

Source: https://habr.com/ru/post/945904/


All Articles