Browse Prior Art Database

Providing Container Filter Support for File Manager Applications in an OS/2 2.x Environment

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

Publishing Venue

IBM

Related People

Johnson, D: AUTHOR [+2]

Abstract

In the OS/2* 2.X Workplace Shell environment, a file manager exhibits certain behaviors when records are displayed in a container in one of the tree views. Only container records which themselves represent other containers are displayed when the user is viewing a file manager that is being displayed in tree view. Other views display all container records.

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

Providing Container Filter Support for File Manager Applications
in an OS/2 2.x Environment

      In the OS/2* 2.X Workplace Shell environment, a file manager
exhibits certain behaviors when records are displayed in a container
in one of the tree views.  Only container records which themselves
represent other containers are displayed when the user is viewing a
file manager that is being displayed in tree view.  Other views
display all container records.

      Many applications, for various reasons, will choose not to use
the Workplace Shell class libraries but will still want their icon to
appear as an object on the desktop that will be launchable via double
clicking.  These applications very likely will want to adhere to the
user interface guidelines that are implemented in standard Workplace
Shell applications.  For example, an application which contains a
file manager would most likely want to provide the same "look and
feel" as the typical Workplace Shell file manager.

      This disclosure describes a solution implemented by the Window
Management System (a Presentation Manager based extension tool) that
will allow an application to filter container records that should not
be displayed while the container is in a tree view.  This solution
allows for an application to provide file system capabilities that
will preserve the user interface paradigm of the Workplace Shell's
file system.

      The Window Management System (WMS) Presentation Manager
solution begins with the addition of a new field to the external WMS
container record structure.  This field is a boolean flag that an
application can set for a particular container record and which will
determine whether or not WMS will display this particular record when
the container is viewed in any of the tree views.

      WMS processing to solve this problem occurs during three phases
- when the container is initialized, when adding a new record to a
container, and when updating an existing record in a container.
During container initialization the following processing takes place:

1.  The CM_QUERYCNRINFO message is sent by WMS to the PM container in
    order to obtain information about the container.

2.  If the flWindowAttr field in the CNRINFO structure (returned by
  ...