Browse Prior Art Database

Restoring a Presentation Manager Menu After a Help Session

IP.com Disclosure Number: IPCOM000100677D
Original Publication Date: 1990-May-01
Included in the Prior Art Database: 2005-Mar-16
Document File: 2 page(s) / 67K

Publishing Venue

IBM

Related People

Berkland, PT: AUTHOR [+3]

Abstract

Disclosed is a method for restoring the lost menu context of a Presentation Manager* application upon return from the application's installed help facility. This makes the application more user-friendly by allowing the operator to view help for menu items without requiring extra keystrokes to re-display the menu after the help request.

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

Restoring a Presentation Manager Menu After a Help Session

       Disclosed is a method for restoring the lost menu context
of a Presentation Manager* application upon return from the
application's installed help facility.  This makes the application
more user-friendly by allowing the operator to view help for menu
items without requiring extra keystrokes to re-display the menu after
the help request.

      The OS/2* Presentation Manager (PM) provides for the
installation of an application's custom help facility via the Help
Hook API.  The PM will invoke the Help Hook procedure defined by the
application whenever it detects a help request.  As the Help window
becomes active, the PM will remove any menu that was displayed prior
to the Help request.

      When the PM invokes the Help Hook procedure, it passes
contextual information that includes the current application mode
(i.e. "window" or "menu") and window element (control) identifiers
(topic and subtopic) that were active when the help request was
detected. For the case of "menu" mode, these values identify the
submenu and submenu item that were active at the help request.

      The Help Hook procedure saves these three pieces of data in an
application data area reserved for help state information.  When the
help session is terminated by the operator, the window procedure that
is managing the help window will process the termination as follows:

                           ...