Inveigled By Design

The art of persuasive design

Maximizing a WPF Window With WindowState=None

When you get set a WPF window’s WindowStyle to None, the window will cover up the task bar when you set its WindowState to Maximized. I’ve seen various approaches to handling this through:

Overriding the WindowProc function and handling the WM_GETMINMAXINFO message
Using the SystemParameters for the primary screen

Another approach that seems to work quite well is [...]

Creative Commons License
Content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 License
Copyright © 2009 Inveigled Software