I’m trying to hide a window from the taskbar.
Following julian’s comments, I overrided getDesktopWindowStyleFlags() in my window (which inherits from a DocumentWindow).
So, I can set all the flags as I want, except for the windowAppearsOnTaskbar flag.
According to the comments, I should call DocumentWindow::getDesktopWindowStyleFlags() and then remove ComponentPeer::windowAppearsOnTaskbar from it.
It doesn’t work.
I think the problem could be in
where by default the windowAppearsOnTaskbar flag is set.
Or am I missing something?
All the other flags work perfectly.