I have a Window WindowA that will open ChildWindowB with ChildWindowB.Owner = WindowA.
In ChildWindowB i want to open a ChildWindowC with ChildWindowC.Owner = ChildWindowB and ChildWindowC.ShownInTaskBar = false.
Problem is when i open ChildWindowC, the taskbar of WindowA and ChildWindowB will disappear but if ChildWindowC closed, the taskbar appear.
Is it a bug of WPF or i did something wrong?
(please see on this screencast http://screencast.com/t/a7rMTOOpMzvN – uploaded new screencast)
I uploaded my project on https://skydrive.live.com/?cid=c6d447771583bdab&resid=C6D447771583BDAB!104&id=C6D447771583BDAB!104
I watched your screencast. It doesn’t look like a bug to me. It looks like Windows is making a judgment call about what to show in the alt+tab menu based on the topmost form you have open.
I don’t have a reference to prove this is what’s happening… just my observation.
I’m not sure why you’d decide to hide the last window when the other two are visible. Are all your forms showing up separately in the taskbar? I can’t see it in that screencast.