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
    Art Image

    Close

    Closes the window

    Art Image

    Minimize

    Minimizes the window

    Art Image

    Maximize

    Maximizes the window

    Art Image

    Restore

    Restores the window

    Art Image

    Help

    Opens associated Help content

    Button Combination Surface Types
    Art Image

    Property sheets, dialog boxes

    Art Image

    Wizards, pop-up message boxes

    Art Image

    All other windows

    Art Image

    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.

See Also

Concepts

Capitalization