Browse Prior Art Database

Multi-Column List Box Presentation Parameter Procedure

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

Publishing Venue

IBM

Related People

Anderson, B: AUTHOR [+3]

Abstract

Disclosed is a process that will allow an OS/2* Presentation Manager* (PM) multi-column list box to be easily defined, displayed, and manipulated with the use of PM presentation parameters. This process is known as the Multi-Column List Box Presentation Parameter Procedure (MCLBPPP).

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

Multi-Column List Box Presentation Parameter Procedure

      Disclosed is a process that will allow an OS/2* Presentation
Manager* (PM) multi-column list box to be easily defined, displayed,
and manipulated with the use of PM presentation parameters.  This
process is known as the Multi-Column List Box Presentation Parameter
Procedure (MCLBPPP).

      At the present time, the method to display a multi-column list
box through PM is labor-intensive.  The procedure can take a
significant amount of programming to define a PM resource file, which
must then be compiled and link edited into a load module.  Every time
a change is required, this resource file must be changed, compiled,
and then link edited.  For every window that must be displayed, this
process must also occur.

      The MCLBPPP utilizes a single PM resource file and allows the
programmer to dynamically create multi-column list boxes in PM
windows.  Using PM presentation parameters defined in a single PM
resource file, MCLBPPP allows the programmer to dynamically change
its contents and display a new window.  Each of the presentation
parameters defines how PM will display or redraw a window.  These PM
presentation parameters are named using a value greater than 2048 to
indicate that they are user-defined parameters.

      To use the MCLBPPP process, the user builds a single PM
resource file which contains one or more PM presentation parameters,
one for each window style that is required.  Each style has a
different number of list columns in the window.  The resource file is
compiled and link edited into a load module.  When a window is to be
displayed, the programmer calls MCLBPPP and passes it a table which
contains the window dimensions, placement, width of each list box and
the data that is to be placed in the list boxes.  This information is
passed by the caller in a Window Resource Table (WRT) whose format is
illustrated below.

                   Window Resource Table
                      ---------------------
---------------------------------------------...