[Qt-interest] Anyone can help about skip taskbar under mswindows ?

Scott Aron Bloom Scott.Bloom at onshorecs.com
Sun Jun 26 22:42:54 CEST 2011


One of the samples/examples/demos that ships, allows you to modify all
the window attributes.. I forget which one it is, but you can play with
them all, and find one that works for you.

Scott

-----Original Message-----
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Zeljko
Sent: Sunday, June 26, 2011 7:48 AM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Anyone can help about skip taskbar under
mswindows ?

Zeljko wrote:


> That's something else :) I want only main window visible in taskbar, 
> not other non-modal forms opened from same app. As I can see from your

> code you are just excluding WS_EX_TOOLWINDOW from hwnd ... maybe  that

> can help for my code too ... I'll try. I'm unix user all of my life, 
> so those winapi tricks are pretty new for me :)

No, it does not help ... same thing opened two non-modal forms from main
app window (parent of those forms is main window) and it works (they're
not in taskbar), but when activating main window it does not raise to
front, stay activated below those 2 forms ... so I guess that qt
behaviour should be different under mswin (xp, vista ,7) - not
explicitly add Qt::Tool if form have parent, and allow parent to raise
over such forms (if there's no StayOnTop flag of course) when we eg.
activate main window by click.
So is there any trick with windowFlags ? any qt internals ? ... or I
have to code complete stuff manually (track main window activation /
deactivation).

zeljko
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list