Module 4
Module 4
Window Characteristics
While all the advantages and disadvantages of windows are still not completely
understood, windows do seem to be useful in the following ways.
Performing More Than One Task: While waiting for a long, complex procedure
to finish, another can be performed. Tasks of higher priority can interrupt less
important ones and then the interrupted tasks can be preceded.
Monitoring: Data in one window can be modified and its effect on data in
another window can be studied.
Multiple Representations of the Same Task: the same task can be represented
in two different ways in two windows. For example a report can be given as table
in one window and as a chart in another window.
Hardware Limitations
Either seeing all the contents of one window is preferable to seeing small parts of
many windows or the operational and visual complexity of multiple windows is
not wanted.
Poor screen resolution and graphics capability may also deter effective use of
windows by not permitting sharp and realistic drawings and shapes
Human Limitations
Other Limitations
Other possible window problems include the necessity for window borders to
consume valuable screen space, and that small windows providing access to large
amounts of information can lead to excessive, bothersome scrolling
Components of a Window
Frame
A window will have a frame or border, usually rectangular in shape, to define its
boundaries and distinguish it from other windows.
While a border need not be rectangular, this shape is a preferred shape for most
people.
Title Bar
The title bar is the top edge of the window, inside its border and extending its
entire width.
This title bar is also referred to by some platforms as the caption, caption bar, or
title area.
The title bar contains a descriptive title identifying the purpose or content of the
window.
Title bar Icon
Located at the left corner of the title bar in a primary window, this button is used
in Windows to retrieve a pull-down menu of commands that apply to the object in
the window.
It is 16 X
Located at the right corner of the title bar, these buttons are used to manipulate the
size of a window.
The leftmost button, the minimize button— inscribed with a short horizontal line
toward the bottom of the button—is used to reduce a window to its minimum size,
usually an icon. It also hides all associated windows.
The maximize button—typically inscribed with a large box—enlarges a window
to its maximum size, usually the entire screen. When a screen is maximized, the
restore button replaces the maximize button, since the window can no longer be
increased in size.
o When a window does not support a command, do not display its command
button.
o The Close button always appears as the rightmost button. Leave a gap
between it and any other buttons.
o The Minimize button always precedes the Maximize button.
o The Restore button always replaces the Maximize button or the Minimize
button when that command is carried out.
The What’s This? Button, which appears on secondary windows and dialog
boxes, is used to invoke the What’s This?
Windows command to provide contextual Help about objects displayed within a
secondary window.
Menu Bar
Status Bar
Scroll Bars
Split Box
A window can be split into two or more pieces or panes by manipulating a split
box located above a vertical scroll bar or to the left of a horizontal scroll bar.
A split box is sometimes referred to as a split bar.
A window can be split into two or more separate viewing areas that are called
panes
Toolbar
Command Area
Size Grip
Work Area
The work area is the portion of the screen where the user performs tasks.
It is the open area inside the window’s border and contains relevant peripheral
screen components such as the menu bar, scroll bars, or message bars.
The work area may also be referred to as the client area.
Window Presentation Styles
Tiled Windows
Tiled windows derive their name from common floor or wall tile. Tiled windows
appear in one plane on the screen and expand or contract to fill up the display
surface, as needed.
Most systems provide two-dimensional tiled windows, adjustable in both height
and width.
advantages:
o The system usually allocates and positions windows for the user,
eliminating the necessity to make positioning decisions.
o Open windows are always visible, eliminating the possibility of them
being lost and forgotten.
o Every window is always completely visible, eliminating the possibility of
information being hidden.
o They are perceived as fewer complexes than overlapping windows,
possibly because there are fewer management operations or they seem less
―magical.‖
o They are easier, according to studies, for novice or inexperienced people
to learn and use.
o They yield better user performance for tasks where the data requires little
window manipulation to complete the task.
Disadvantages
Advantages:
Disadvantages
o They are operationally much more complex than tiled windows. More
control functions require greater user attention and manipulation.
o Information in windows can be obscured behind other windows.
o Windows themselves can be lost behind other windows and be presumed
not to exist.
o That overlapping windows represent a three-dimensional space is not
always realized by the user.
o Control freedom increases the possibility for greater visual complexity and
crowding. Too many windows, or improper offsetting, can be visually
overwhelming.
Cascading Windows
A special type of overlapping window has the windows automatically arranged in
a regular progression.
Each window is slightly offset from others, as illustrated in Figure
Advantages
Types of Windows
Primary Window
Proper usage:
— Should represent an independent function or application.
— Use to present constantly used window components and controls.
• Menu bar items that are:
— Used frequently.
— Used by most, or all, primary or secondary windows.
• Controls used by dependent windows.
— Use for presenting information that is continually updated.
• For example, date and time.
— Use for providing context for dependent windows to be created.
— Do not:
• Divide an independent function into two or more primary windows.
• Present unrelated functions in one primary window.
It has also been variously referred to as the application window or the main
window. In addition, it may be referred to as the parent window if one or more
child windows exist
Secondary Windows
Proper usage:
— For performing subordinate, supplemental, or ancillary actions that are:
• Extended or more complex in nature.
• Related to objects in the primary window.
— For presenting frequently or occasionally used window components.
Important guidelines:
— Should typically not appear as an entry on the taskbar.
— A secondary window should not be larger than 263 dialog units x 263 dialog
units.
A dependent secondary window is one common type. It can only be displayed
from a command on the interface of its primary window. It is typically associated
with a single data object, and appears on top of the active window when
requested. It is movable, and scrollable.
An independent secondary window can be opened independently of a primary
window—for example, a property sheet displayed when the user clicks the
Properties command on the menu of a desktop icon.
Modal and Modeless
Modal:
— Use when interaction with any other window must not be permitted.
— Use for:
• Presenting information.
— For example, messages (sometimes called a message box).
• Receiving user input.
— For example, data or information (sometimes called a prompt box).
• Asking questions.
— For example, data, information, or directions (sometimes called a question
box).
— Use carefully because it constrains what the user can do.
Modeless:
— Use when interaction with other windows must be permitted.
— Use when interaction with other windows must be repeated.
Cascading:
— Purpose:
• To provide advanced options at a lower level in a complex dialog.
— Guidelines:
• Provide a command button leading to the next dialog box with a ―To a
Window‖ indicator, an ellipsis (. . . ).
• Present the additional dialog box in cascaded form.
• Provide no more than two cascades in a given path.
• Do not cover previous critical information.
— Title Bar.
— Relevant displayed information.
• If independent, close the secondary window from which it was opened.
Unfolding:
— Purpose:
• To provide advanced options at the same level in a complex dialog.
— Guidelines:
• Provide a command button with an expanding dialog symbol (>>).
• Expand to right or downward.
Cascaded Window
Unfolded Window
Dialog Boxes
Use for presenting brief messages.
Use for requesting specific, transient actions.
Use for performing actions that:
— Take a short time to complete.
— Are not frequently changed.
Command buttons to include:
— OK.
— Cancel.
— Others as necessary.
Secondary windows provide two other techniques for displaying properties, property
sheets and property inspectors.
Property Sheets
Property Inspectors
Use for displaying only the most common or frequently accessed objects properties.
Make changes dynamically.
Message Boxes
Palette Windows
Use to present a set of controls.
Design as resizable.
— Alternately, design them as fixed in size.
Pop-up Windows
Window Management
Single-Document Interface
Description:
— A single primary window with a set of secondary windows.
Proper usage:
— Where object and window have a simple, one-to-one relationship.
— Where the object’s primary presentation or use is as a single unit.
— To support alternate views with a control that allows the view to be changed.
— To support simultaneous views by splitting the window into panes.
Advantages:
— Most common usage.
— Window manipulation is easier and less confusing.
— Data-centered approach.
Disadvantage:
— Information is displayed or edited in separate windows.
Multiple-Document Interface
Description:
— A technique for managing a set of windows where documents are opened into
windows.
— Contains:
• A single primary window, called the parent.
• A set of related document or child windows, each also essentially a
primary window.
— Each child window is constrained to appear only within the parent window.
— The child windows share the parent window’s operational elements.
— The parent window’s elements can be dynamically changed to reflect the
requirements of the active child window.
Proper usage:
— To present multiple occurrences of an object.
— To compare data within two or more windows.
— To present multiple parts of an application.
— Best suited for viewing homogeneous object types.
— To clearly segregate the objects and their windows used in a task.
Advantages:
— The child windows share the parent window’s interface components (menus,
toolbars, and status bars), making it a very space-efficient interface.
— Useful for managing a set of objects.
— Provides a grouping and focus for a set of activities within the larger
environment of the desktop.
Disadvantages:
— Reinforces an application as the primary focus.
— Containment for secondary windows within child windows does not exist,
obscuring window relationships and possibly creating confusion.
— Because the parent window does not actually contain objects, context cannot
always be maintained on closing and opening.
— The relationship between files and their windows is abstract, making an MDI
application more challenging for beginning users to learn.
— Confining child windows to the parent window can be inconvenient or
inappropriate for some tasks.
— The nested nature of child windows may make it difficult for the user to
distinguish a child window in a parent window from a primary window that is a
peer with the parent window but is positioned on top.
Workbooks
Description:
— A window or task management technique that consists of a set of views
organized like a tabbed notebook.
— It is based upon the metaphor of a book or notebook.
— Views of objects are presented as sections within the workbook’s primary
windows; child windows do not exist.
— Each section represents a view of data.
— Tabs can be included and used to navigate between sections.
— Otherwise, its characteristics and behavior are similar to those of the multiple
document interface with all child windows maximized.
Proper usage:
— To manage a set of views of an object.
— To optimize quick navigation of multiple views.
— For content where the order of the sections is significant.
Advantages:
— Provides a grouping and focus for a set of activities within the larger
environment of the desktop.
— Conserves screen real estate.
— Provides the greater simplicity of the single-document window interface.
— Provides greater simplicity by eliminating child window management.
— Preserves some management capabilities of the multiple-document interface.
Disadvantage:
— Cannot present simultaneous views.
Projects
Description:
— A technique that consists of a container: a project window holding a set of
objects.
— The objects being held within the project window can be opened in primary
windows that are peers with the project window.
— Visual containment of the peer windows within the project window is not
necessary.
— Each opened peer window must possess its own menu bar and other interface
elements.
— Each opened peer window can have its own entry on the task bar.
— When a project window is closed, all the peer windows of objects also close.
— When the project window is opened, the peer windows of the contained objects
are restored to their former positions.
— Peer windows of a project may be restored without the project window itself
being restored.
Proper usage:
— To manage a set of objects that do not necessarily need to be contained.
— When child windows are not to be constrained.
Advantages:
— Provides a grouping and focus for a set of activities within the larger
environment of the desktop.
— Preserves some management capabilities of the multiple document interface.
— Provides the greatest flexibility in the placement and arrangement of windows.
Disadvantage:
— Increased complexity due to difficulty in differentiating peer primary windows
of the project from windows of other applications.
Window Organization
Number of Windows
Window Operations
Active Window
General Guidelines
Sizing Windows
Window Placement
Considerations:
— In placing a window on the display, consider:
• The use of the window.
• The overall display dimensions.
• The reason for the window’s appearance.
General:
— Position the window so it is entirely visible.
— If the window is being restored, place the window where it last appeared.
— If the window is new, and a location has not yet been established, place it:
• At the point of the viewer’s attention, usually the location of the pointer
or cursor.
• In a position convenient to navigate to.
• So that it is not obscuring important or related underlying window
information.
— For multiple windows, give each additional window its own unique and
discernible location.
• A cascading presentation is recommended.
— In a multiple-monitor configuration, display the secondary window on the
same monitor as its primary window.
— If none of the above location considerations apply, then:
• Horizontally center a secondary window within its primary window just
below the title bar, menu bar, and any docked toolbars.
— If the user then moves the window, display it at this new location the next time
the user opens the window.
• Adjust it as necessary to the current display configuration.
— Do not let the user move a window to a position where it cannot be easily
repositioned.
Dialog boxes:
— If the dialog box relates to the entire system, center it on screen.
— Keep key information on the underlying screen visible.
— If one dialog box calls another, make the new one movable whenever possible.
Window Separation
Crisply, clearly, and pleasingly demarcate a window from the background of the
screen on which it appears.
— Provide a surrounding solid line border for the window.
— Provide a window background that sets the window off well against the overall
screen background.
— Consider incorporating a drop shadow beneath the window.
Moving a Window
Resizing a Window
Other Operations
Closing a Window
Direct devices are operated on the screen itself. Examples include the light pen,
the finger, and voice.
Indirect devices are operated in a location other than the screen, most often on the
desktop.
Trackball
Description:
— A spherical object (ball) that rotates freely in all directions in its socket.
— Direction and speed is tracked and translated into cursor movement.
Advantages: