You are correct, the frameless window removes the window decoration, but I have a custom window decoration that is setup in a 3x3 grid in the main window. The mask is then applied to give the window a curved look on the edges instead of it being a big rectangle.

I've tried using the full-screen method, but doing this causes the context menu on the Windows taskbar to disable the "Restore" option that restores the application back to its original size.

Also, I noticed that if I make the following call:
Qt Code:
  1. setGeometry(rect());
  2. updateGeometry();
To copy to clipboard, switch view to plain text mode 

It will correctly shift the application window up to the top of the screen, but it will leave a space below the application. Attempting to manually set the height to a different value will cause the window to shift back down again. This call is in the resizeEvent() method of my main window, and I have a boolean variable that gets set to avoid an infinite loop in resizing the window.

One thing I'm noticing is that something else is receiving the maximized signal before my QMainWindow. Does Windows handle this event and attempt a resize before it notifies the application? If I can intercept this call, then maybe I can redefine how the application can handle it before any resize is attempted. By the time resizeEvent() is called in my code, the application already thinks it's maximized.