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

Zeljko zeljko at holobit.net
Sun Jun 26 16:47:49 CEST 2011


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



More information about the Qt-interest-old mailing list