Reputation: 3431
I code an editor, that should have a fullscreen-mode (editor covers 100% of the screen, taskbar is not visible). "Set the Window Topmost" you would say, but here´s the problem: my editor runs external programs, that have to be visible.
My editor should hide the taskbar, but not be topmost for other applications. Is this possible? And how?
Upvotes: 0
Views: 665
Reputation: 942197
You don't need a TopMost window to cover the taskbar. Creating a borderless maximized window is enough:
public MainWindow() {
InitializeComponent();
this.WindowState = System.Windows.WindowState.Maximized;
this.ResizeMode = System.Windows.ResizeMode.NoResize;
}
You still need a way for the user to activate a window of another application. It isn't clear what you had in mind, but Alt+Tab works.
Upvotes: 3