Browse Prior Art Database

Simulating the OS/2 2.X Workplace Shell Support for Pop-up Menus in OS/2 1.3

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

Publishing Venue

IBM

Related People

Cline, TL: AUTHOR

Abstract

The container control is one of the major new controls found in the OS/2* 2.X environment. Pop-up menus are one of the major features associated with a container and with records that are defined within a container. A pop-up menu is the unanchored equivalent of a pull-down menu. It is not associated with an action bar but can be positioned anywhere. It is typically related to a specific object such as an icon, and the user invokes this related pop-up by either positioning the mouse over the object and invoking a sequence of mouse-related events (i.e., pressing mouse button 2 using a single click) or by selecting the object and invoking a set of key strokes (i.e., striking both the Shift and F10 keys simultaneously).

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

Simulating the OS/2 2.X Workplace Shell Support for Pop-up Menus
in OS/2 1.3

      The container control is one of the major new controls found in
the OS/2* 2.X environment.  Pop-up menus are one of the major
features associated with a container and with records that are
defined within a container.  A pop-up menu is the unanchored
equivalent of a pull-down menu.  It is not associated with an action
bar but can be positioned anywhere.  It is typically related to a
specific object such as an icon, and the user invokes this related
pop-up by either positioning the mouse over the object and invoking a
sequence of mouse-related events (i.e., pressing mouse button 2 using
a single click) or by selecting the object and invoking a set of key
strokes (i.e., striking both the Shift and F10 keys simultaneously).

      Because of the power and usefulness of some of the new OS/2 2.X
Workplace Shell controls, we chose to provide similar support
possibilities to OS/2 1.3 application writers.  This support is
provided via a set of dynamic link libraries.  The container control
is one of the controls included in this set.

      Unfortunately, although the container control is supported in
our libraries, pop-up menu support was not included.  This is a
serious omission which results in a major loss of functionality for
the container control.  Application writers that would like to
utilize the container control in a product that is to run in both the
OS/2 1.3 and the OS/2 2.X environments can not provide a consistent
user interface across both platforms.

      This article describes a solution implemented by the Window
Management System (WMS), a Presentation Manager* (PM)-based extension
tool which will provide a workaround to our libraries' lack of
support for pop-up menus.  This solution increases the usability and
effectiveness of an OS/2 1.3 application that wishes to provide
support for pop-up menus in the container control which will be
consistent with support found in OS/2 2.X and will comply with Common
User Access (CUA) guidelines.

      The Window Management System solution supports both mouse and
keyboard interfaces for initiating the display of a pop-up menu.  The
keyboard support is provided by keying off of the WM_CHAR message
which is sent by PM whenever a user presses a key.  Some of the
information provided in the parameters of this PM message include
keyboard control codes and virtual...