Making "helper" windows in WPF

Posted by RandomEngy on Stack Overflow See other posts from Stack Overflow or by RandomEngy
Published on 2010-03-20T04:04:47Z Indexed on 2010/03/20 4:11 UTC
Read the original article Hit count: 296

Filed under:
|
|

I'm writing an app in WPF and want to make a "helper" window. The window needs to be resizable, with no minimize option and doesn't show in the taskbar. If the app receives focus, it should appear as well, but whether or not it's in front or behind the main window should be retained. When the main window is closed, it should close along with the app.

An example is a detached pane in Visual Studio.

I've made the helper windows not appear in the taskbar, but can't get the rest of the behaviors I want. If they're their own windows, they don't get focus along with the rest of the app. If I specify a the main window as their owner, the main window can't be on top of the helper window.

Anyone know a good way to approach this?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about c#