Is it enough to only have the "X" Button in the upper right corner for closing an Desktop-Application, or is it necessary to provide an Close option in the Menubar (File->Exit)?
If you can provide an exit or close action in drop-down menus or the menubar (with a keyboard shortcut) you should go for it. I would suggest you analyse your application, application's audience / end users and proceed from there. You may even pimp your exit command(s) with "
Save and Exit" or "
Disconnect and Exit" etc.
here's an example
- From a functional point of view: If your application demands it, then this is the way to go.
- From usability point of view: Screen readers and Keyboard users benefit from it.
ALT + F4 is the dark horse command for most users.
It is generally advisable to follow your OS vendor's User interface guidelines (e.g., http://msdn.microsoft.com/en-us/library/windows/desktop/aa511258.aspx).
To be honest, the effort of adding another standard way of exiting the application (yes, a
Close menu item is standard in the
File submenu) is much less than the effort of posting a question on Stack Exchange and waiting for answers. To prevent asking for more questions of this unfortunate variety, I again advise to read the guidelines.
Quoting Microsoft (http://msdn.microsoft.com/en-us/library/windows/desktop/aa511502.aspx#standardMenus):
- Use the standard menu organization for programs that create or view documents. The standard menu organization makes common menu items predictable and easier to find.
- For other types of programs, use the standard menu organization only when it makes sense to. Consider organizing your commands and options into more useful, natural categories based on your program's purpose and the way users think about their tasks and goals.
Standard menu bars
The standard menu bar structure is as follows. This list shows the menu category and item labels, their order with separators, their access and shortcut keys, and their ellipses.
File New Ctrl+N Open... Ctrl+O Close <separator> Save Ctrl+S Save as... <separator> Send to <separator> Print... Ctrl+P Print preview Page setup <separator> 1 <filename> 2 <filename> 3 <filename> ... <separator> Exit Alt+F4 (shortcut usually not given)