Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to support an autohiding taskbar on Windows?



  • When I maximize my window, it blocks the taskbar, and I can only activate it with the Win button on my keyboard or by switching to another app. Other applications like Google Chrome or Telegram work perfectly even with the autohiding taskbar, but my own app does not support it.
    Here is my maximizing code:

    void CustomizableWindow::on_maximizeButton_clicked()
    {
    	setWindowState(Qt::WindowMaximized);
    	showMaximized();
    }
    


  • @Krakenus00 Hello can you add the picture that you want to achieve and one that you are getting