Window

An area on the display screen used to present a view of an object or to conduct a dialog with a user. The two types of windows are primary windows and secondary windows. Windows are used to present objects, action options, and messages.


[style_guide/ButtonBarTopGSI.htm]

When To Use

Use a window to display a view of an object or to conduct a dialog with a user.

Guidelines

Provide a border, window title, and system-menu symbol for each window.
Provide a small version of the object's icon in the title bar when a window displays a view of that object.
Close a window when:
  • A user selects the Close choice from the system menu or from a push button labeled Close.
  • A user selects the Close icon ( )in the extreme left of the window title bar.
  • A user selects the Cancel choice from a push button.
  • A user selects a choice that completes the action represented in the window.
  • The window has no further relevance. For example, close a progress-indicator window when the action the user has requested is complete.
Allow a user to change the size and position of all windows.
When a user closes, minimizes, or hides a window, save its current state, including its size and position, for use when the window is restored.
When a user opens a window from an object to a particular view or restores a minimized or hidden window, restore the window and any dependent windows to their previous state, regardless of the amount of time that has elapsed since a user last opened or restored the window, and regardless of whether the user's system has been turned off and on again.
If a user is opening or restoring a window on a screen of a different size than the screen on which the window was last viewed, and the window, when opened or restored, would otherwise be positioned outside the bounds of the user's current screen, ensure that at least part of the window's title bar is visible on the user's screen.
When a user opens a window that has no previous state information:
  • Place and size the window so that it is completely visible within the workplace.
  • Make the window large enough for a user to perform useful work, but less than the full size of the user's workplace.
  • Place the window so that it will draw a user's attention without impeding the user's work. For example, place a help window next to the window from which it was requested, not on top of that window.
  • Place the window near where the user's attention was most likely focused when the user's request caused the window to appear. For example, place the window near the pointer or near the cursor.
When a user opens a window but switches input focus to another window before the requested window is displayed, do not display the previously requested window on top of the window that currently has focus.
When a user opens another window from an object that already has open windows, do not completely cover the other windows associated with that object.
If a user selects and opens more than one object, display each object in a separate window. Open the windows in the order that the objects were selected, so that the window for the object that was selected last has input focus and is not obscured by any other window.
See Figure 1 to determine the components to provide in a window based on the usage of that window.

 

Figure 1 Recommended Window Component Usage
Window Usage System Menu Small Icon inTitle Bar Title Minimize Push Button Maximize and Restore Push Button Menu Bar Sizing Border
Object Yes Yes object name - view name:number Yes Yes Yes Yes
Messages Yes No object name - action or situation No Yes No Yes
Progress Indicator Yes No object name - process Progress No Yes No Yes
Help Yes No object/action/field - Help No Yes Yes Yes
Action Yes No object name - action No Yes No Yes
Application-oriented window Yes Yes Application name - object name Yes Yes Yes Yes

 

Supplemental Related Topics

Implementation

left 1 grid units
top 1 - 1.5 grid units
bottom 1 - 1.5 grid units rounded up
right 1 grid units

 

[button_bar_bot_gsi.htm]