Browse Prior Art Database

Instantaneous Combination Boxes Using Presentation Window Parameters

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

Publishing Venue

IBM

Related People

Anderson, B: AUTHOR [+3]

Abstract

Disclosed is a process that will allow an OS/2* Presentation Manager* (PM) combination box to be easily defined, displayed, and manipulated with the use of PM presentation parameters. It is known as the Instantaneous Combination Boxes Using Presentation Window Parameters (ICBPWP) procedure.

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

Instantaneous Combination Boxes Using Presentation Window Parameters

      Disclosed is a process that will allow an OS/2* Presentation
Manager* (PM) combination box to be easily defined, displayed, and
manipulated with the use of PM presentation parameters.  It is known
as the Instantaneous Combination Boxes Using Presentation Window
Parameters (ICBPWP) procedure.

      To generate a PM combination box, a list item with a pull-down
list box, a programmer must define the size and contents of the box
through a PM resource file which describes its characteristics and
contents.  Every time a change is required, this resource file must
be changed, compiled, and then link edited.  For each combination box
used by an application, a resource file must be created, compiled,
and link edited.

      The ICBPWP utilizes a single PM resource file and allows the
programmer to dynamically create combination boxes in PM windows.
Using PM presentation parameters defined in a single PM resource
file, ICBPWP allows the programmer to dynamically change its contents
and display a new combination box.  ICBPWP uses presentation
parameters to pass dynamic data to PM which defines the
characteristics of how PM should display a combination box.

      To use the ICBPWP procedure, the user builds a single PM
resource file which contains one or more PM presentation parameters,
one for each combination box that is required.  Each presentation
parameter contains a series of values contained within a structure
called the Presentation Box Entry (PBE) which describes how the box
will be displayed.  The initial setting of these values is not
important - they will be changed during execution time.  The format
of the PBE must be large enough to accommodate the data in the
positions indicated below.

                   Presentation Box Entry
                      ----------------------
          |------|--------|-----------|--------|------|---------|
          | box  |  box   |entry field|1st list|      |last list|
          | size |position|   text    |  text  |.  . . |  text   |
          |------|--------|-----------|--------|------|---------|
          0      2        4           x       x+y   x+y+z       x'

      The resource file is compiled and link edited into a load
module.  When a combination box is to be displayed, the programmer
calls the ICBPWP procedure and passes it a structure which...