Browse Prior Art Database

Os/2 Presentation Manager Controls Enabled for Hypermedia Link Markers

IP.com Disclosure Number: IPCOM000107868D
Original Publication Date: 1992-Mar-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 105K

Publishing Venue

IBM

Related People

Eisen, IR: AUTHOR [+2]

Abstract

This article describes a simple method for creating Hypermedia links in OS/2* Presentation Manager controls, such as multi-line entry field control (MLEC) or a list control. MLECs are used by applications to display multiple lines of text that the operator can edit. The text is displayed within a rectangular window that can contain scroll bars (if requested). List controls are used by applications to display data (such as table of contents, groups of data, calendar events, etc.) in a list format. The ability to create Hypermedia links in a MLEC or a list control would make it easy to enable many computer applications to interact in a Hypermedia scheme.

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

Os/2 Presentation Manager Controls Enabled for Hypermedia Link Markers

       This article describes a simple method for creating
Hypermedia links in OS/2* Presentation Manager controls, such as
multi-line entry field control (MLEC) or a list control.  MLECs are
used by applications to display multiple lines of text that the
operator can edit.  The text is displayed within a rectangular window
that can contain scroll bars (if requested).  List controls are used
by applications to display data (such as table of contents, groups of
data, calendar events, etc.)  in a list format. The ability to create
Hypermedia links in a MLEC or a list control would make it easy to
enable many computer applications to interact in a Hypermedia scheme.

      A new link-enabled MLEC should be created.  This control will
work as an ordinary MLEC unless it is activated by its parent
application as link-enabled.  When activated it will allow the user
to create, remove, move, copy, save and invoke Hypermedia link
markers.  A MLEC link marker will behave exactly like any other
Hypermedia Link marker.

      The application must send an initialization message to this new
MLEC to activate it for Hypermedia.  The application must pass the
handle Hypermedia returned to it during its own Hypermedia
initialization process.  This handle will be used by the MLEC in its
future communication with Hypermedia Link Manager.  When the user
chooses to create, move, copy, or delete a link marker (invoked
through the application pulldown menu), the application notifies the
MLEC through the appropriate message.  The MLEC will then invoke the
Hypermedia routines required to handle the user's request.  The link
markers will be repainted whenever the new MLEC repaints (e.g., after
scrolling, sizing, etc.). When the user exits the application or
chooses to save link markers, the application must notify the MLEC.
The MLEC will use the Hypermedia APIs to save the link markers.

      The MLEC must keep the coordinates of each link marker relative
to the lower left-hand corner of the MLEC line number rectangle.  It
must also key the data by the MLEC item's line number.  Thus, even if
the data in the MLEC changes (e.g., if a line is deleted or if the
window is resized), the MLEC will be able to adjust both the line
number keys and the link-marker coordinates so that it can associate
the link markers with the correct data.

      A new link-enabled list control should be created. This control
will wo...