Omer van Kloeten's .NET Zen

Programming is life, the rest is mere details

News

Get Firefox

Locations of visitors to this page

.NET Resources

Articles :: CodeDom

Articles :: nGineer

Culture

Projects

Windows XP and Almost Maximized Windows

I believe I am not the only person in the world who likes to work only with maximized windows and Alt+Tab - there are quite a lot of advantages to that approach, mainly the fact that you can pull your mouse to the upper-right corner of the screen and blindly left-click to close it - without the need to fuss over aiming your cursor just right.

How many times have you seen this before: A window for application A is above another and only appears maximized, but since Windows XP has introduced curved corners for windows, it neglects to cover the corners. Behind application A's window is another window - application B, which really is maximized - therefore covering the corners of the screen.



However, when you try closing application A's almost-maximized window with an upper-right corner click, the mouse-click is actually sent to application B's window, causing it to close and you, the user, to get utterly frustrated.

Unfortunately, it looks like Vista isn't going to make any great improvements there, so if you're developing a UI, please try and avoid this - when a window needs to be big - open it maximized; otherwise, please make the window, at most, with 10 pixel margins from each corner of the screen.

All you have to do is use Form.MaximumSize and set it to values received from System.Windows.Forms.Screen.PrimaryScreen.WorkingArea (for a single display system) minus the margin and save headaches from thousands.

Thank you in advance.

Comments

Sahil Malik said:

I hate that teletubbies look.
# June 2, 2006 12:43 PM

Blog Cowared said:

You're not alone.
# June 2, 2006 1:01 PM

Xslf said:

Well, ignoring the fact that I use the "classic" theme for Windows XP, where this is less problematic, having the corner rounded does not necessitate having the click target match the visual "roundness" and not observe fitt's law.
Oh well.

On the other hand, using maximized windows on anything but a low-res screen (1024X768 or lower) seems like an awful waste to me. I like having multiple windows open, but not maximized. That way I can see at a glance what's happening in multiple applications (with no need to switch), have my virtual sticky notes viewable at the right hand of my screen (and not covered by stuff), and have selected frequently used folders on my desktop available at the left side of my screen, where I can drag things into them easily.
# June 25, 2006 10:01 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)