Title Bars: Design GuidelinesĀ
Title bars appear at the top of all program windows, dialog boxes, wizards, and message boxes.
Include command buttons associated with the common commands of the primary window in the title bar. These buttons act as shortcuts to specific window commands. Clicking a title-bar button by using the primary mouse button invokes the same command as that associated with the command button. Optionally, you can support clicking a title bar command button with the secondary mouse button to display the shortcut menu for the window. All buttons on a primary window's title bar must have equivalent commands on the shortcut menu for that window.
In a typical situation, one or more of the following buttons appear in a primary window (provided that the window supports the respective functions).Button Command Operation Close
Closes the window
Minimize
Minimizes the window
Maximize
Maximizes the window
Restore
Restores the window
Help
Opens associated Help content
Button Combination Surface Types Property sheets, dialog boxes
Wizards, pop-up message boxes
All other windows
All other windows (maximized)
When these buttons are displayed, use the following guidelines:
- In the title bar of every program and document window, use the command buttons shown.
- When a command is not supported by a window, do not display its command button.
- The Close button always appears as the rightmost button. Leave a gap between it and any other buttons.
- The Minimize button always precedes the Maximize button.
- The Restore button always replaces the Maximize button or the Minimize button when that command is carried out.