[Qt-interest] Anyone can help about skip taskbar under ms windows ?
Bo Thorsen
bo at fioniasoftware.dk
Sun Jun 26 19:31:30 CEST 2011
Den 25-06-2011 21:30, Zeljko skrev:
> Hi all,
> I've successfully implemented that under X11, but have problem under MS Windows.
> Searched via MSDN but found nothing.
> Basically taskbar can be skipped by adding parent to new window, but then qt
> adds Qt::Tool into flags, and that window behaviour is same as StayOnTop ...and
> that's bad ... also I've tried to create an hidden Qt::Tool win and ther set
> that win as parent of my non-modal window, but then have problem with z-order
> after minimize/restore (but that partially works).
> Anyone ?
Use a QDialog subclass for the second window. Those do not add taskbar
entries.
If that's not possible (if you need QMainWindow, for example) you can
read the code in QDialog and copy it to your window.
And then you tell the list what you did :)
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list