Nominate our 2022 Qt Champions!

QMdiSubWindow in Windows 10

  • Hallo,

    I have written a Qt5 Programm (5.5.1) which uses QMdiSubwindows.
    This looks fine when i use Windows 7.
    But now when i use Windows 10, the titlebar in the Sub Windows shows further the Win 7 Style ( thicker frame, wrong titlebar color).
    The Top Level QMainWindow shows the correct Style.

    Anyone some advice to correct this?

  • Moderators

    Hi, welcome to devnet.

    There's nothing to correct unfortunately. That's how MDI windows look in Windows 10. You can create an MFC app with Visual Studio's wizard and the result will be the same.

    I agree it doesn't look good in Windows 10, but apparently MDI is not really a model Microsoft is promoting these days and they didn't update the style.
    Not a Qt issue anyway.

  • Thanks for the info.

    Well i have tried to port the programm to use regular QMainWindows.
    But then i have issues to handle the maximum, minimum controls and to constrain the maximized window to my own mdiarea.
    Any advice?