WPF App loses completely focus on window close

前端 未结 8 2218
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 20:40

Problem description

If I make a non-modal window as a child window through setting the Owner of the window to a parent window, and then show a Messa

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 21:36

    Johsua's .Activate (see above) solution works quite nicely with all sorts of window types. At least it did the trick for me.

提交回复
热议问题