Browse Prior Art Database

Enabling Frame Resize Options during OS/2 2.1 Object View Swapping

IP.com Disclosure Number: IPCOM000113149D
Original Publication Date: 1994-Jul-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 91K

Publishing Venue

IBM

Related People

Morgan, SA: AUTHOR [+2]

Abstract

Objects in the OS/2* 2.1 Workplace Shell* desktop can be represented in multiple different views, including icon view, settings view, details view and tree view. Each view is just a different form of representation of the same object. The Common User Access* (CUA) standards require that when an object is swapped from one view to another, the new view should be presented within the same window frame in which the previous view was displayed.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Enabling Frame Resize Options during OS/2 2.1 Object View Swapping

      Objects in the OS/2* 2.1 Workplace Shell* desktop can be
represented in multiple different views, including icon view,
settings view, details view and tree view.  Each view is just a
different form of representation of the same object.  The Common User
Access* (CUA) standards require that when an object is swapped from
one view to another, the new view should be presented within the same
window frame in which the previous view was displayed.

      The question of whether or not this window frame should be
adjusted in size and/or position when the new view is displayed is
not addressed by the CUA standards.  An API that implements view
swapping as the CUA standards require therefore has a variety of
options in this regard.  The choice made by the application is also
dependent on a variety of factors.  This disclosure details the
options available and when they should be used, as provided by the
WmsSwapView API in the Window Management System (WMS), an
IBM-internal graphical user interface development tool.

The WmsSwapView API provides three options to an application
regarding the size of the window frame for the new view.

1.  The first option is to leave the frame for the new view at the
    same size and in the same position as the previous view.  Only
    the contents of the window would change to reflect the new view,
    while the frame itself would remain unchanged.

    This is the strictest choice and probably what the CUA standards
    had in mind.  The frame would not move or resize, and so the
    visual effect would be clearly that of swapping the contents
    within the same frame.  However, the proper size for one view may
    be totally inappropriate for another.  Swapping views from a
    container in icon view with only a few icons in it to a large
    notebook in settings view, while keeping the frame size
    unchanged, would either force the user to enlarge the window to
    easily get at the full contents of the notebook, or else the icon
    view would take up much more space on the screen than is needed
    for the display of a few icons.

2.  A second option takes this into consideration and resizes the
    frame to the size which is optimal for the new view each time a
    view swap occurs.  The optimal size for a given view is
    determined when the panel is originally created and before it is
    presented on the screen.  It can be specified by the application
    developer at panel description time, or calculated...