[Qt-interest] Force a Top Level Window to NOT Show on Taskbar?

Raja Rokkam rokkamraja at gmail.com
Mon Nov 2 16:13:49 CET 2009


setWindowFlags( Qt::Tool | Qt::FramelessWindowHint );

On Mon, Nov 2, 2009 at 8:41 PM, Josiah Bryan
<jbryan at productiveconcepts.com>wrote:

> Hello, All -
>
> I've got a main window for my app that opens up a full-screen video
> output on the second monitor. This full screen output is a second
> top-level QWidget and I just set the geometry correctly, and turn off
> the border with setWindowFlags(Qt::FramelessWindowHint).
>
> That's all well and good, but this full screen widget still shows on my
> taskbar - not really useful and just clutters the taskbar. It's
> automatically opened when my main window is opened, and closed when the
> main window closes - so I dont want it on the taskbar at all. How do I
> stop it from showing on the taskbar? (Or, at least hint to the window
> system or Windows that it shouldn't appear.)
>
> I've read every Window Flag in the Qt Documentation and none seem to
> hint at what I want. Of course, I'm sure I could have missed something.
>
> Any hints?
>
> -josiah
>
> --
>
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Josiah Bryan
> Productive Concepts, Inc.
> jbryan at pciint.com
> (765) 964-6009, ext. 224
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091102/d35b187a/attachment.html 


More information about the Qt-interest-old mailing list