Project Description
An alternative to an "OK" dialog box. The message bar is a subtle indicator that is to be used when the user doesn't really have a choice, but you still want to inform them of something.

The Problem/Why?
I've always disliked dialog boxes... especially ones that don't even allow me to do anything except click an "OK" button. In my opinion there is no reason to bother the user when they don't have any choice in the matter anyways.

The Alternative
The alternative I've came up with is this simple and easy to use control that sits on the bottom of a window (by default) and allows you to display messages on it, called a message bar. You have several message types to choose from (Failure, Idle, Neutral, Success, Warning) and a built-in timer that allows a message to only show for a certain period of time in milliseconds, then go back to the last "permanent" message. A permanent message is a message with a duration of zero and a IsPermanent property set to true (updating the other property is handled automatically).

What About Yes/No Dialog Boxes?
I've thought about adding buttons to the message bar to allow the user to take a course of action. However, I think a normal dialog box is more suited for that kind of thing since it is good at sticking things in the user's face. Although in a future release I will likely add a "Don't show this again" CheckBox on the right-hand side of the message bar.

Screenshots

Idle Message (Default Style)
WpfMessageBar-IdleMessage-Default-Style.png

Failure Message (Default Style)
WpfMessageBar-FailureMessage-Default-Style.PNG

Message Types (Default Style)
WpfMessageBar-MessageTypes.png

Idle Message (Custom Style)
WpfMessageBar-IdleMessage-Custom-Style.png

Neutral Message (Custom Style)
WpfMessageBar-NeutralMessage-Custom-Style.png

Success Message (Custom Style)
WpfMessageBar-SuccessMessage-Custom-Style.png

Comments, Questions, and Bugs

  • Please leave comments and/or questions in the Discussions area of the site.
  • Please report any bugs you find in the Issue Tracker, so they can be fixed.

My WordPress Blog

You can find my blog at: http://thrash505.wordpress.com/

Last edited Jul 7, 2009 at 3:21 PM by Thrash505, version 9