Qt/win: showMaximized() overlapping taskbar on a frameless window
Posted
by greg
on Stack Overflow
See other posts from Stack Overflow
or by greg
Published on 2010-04-14T21:29:42Z
Indexed on
2010/04/14
21:33 UTC
Read the original article
Hit count: 705
I'm building an application that has its own custom chrome. I have turned the default window border off by setting the flag:
this->setWindowFlags(Qt::FramelessWindowHint);
After this flag is set and the default window border is turned off, any calls to:
this->showMaximized();
result in a window that takes up the entire screen, overlapping the task bar. Is there a common work around for this or another method I should be calling instead of showMaximized()?
Win7/Qt4.6
© Stack Overflow or respective owner