Browse Prior Art Database

Overcoming Pop-Up Menu Source Emphasis Deficiencies in the Container Control

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

Publishing Venue

IBM

Related People

Johnson, KD: AUTHOR [+2]

Abstract

In the OS/2* 2.X Workplace Shell* environment, 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., pressing both the Shift and F10 keys).

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

Overcoming Pop-Up Menu Source Emphasis Deficiencies in the Container
Control

      In the OS/2* 2.X Workplace Shell* environment, 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., pressing both the Shift and F10 keys).

      When a user invokes a pop-up menu in the Workplace Shell
environment and that pop-up menu is displayed, a dotted box to
display source emphasis is drawn around the objects corresponding to
the displayed pop-up menu.  This provides the user a helpful visual
representation of which objects are associated with the displayed
pop-up menu.  The user quickly becomes accustomed to this user
friendly interface.

      Applications using the Workplace Shell class libraries inherit
the above mentioned support.  However, there are many applications
that for various reasons (i.e., portability to other platforms)
choose not to use the Workplace Shell class libraries but still want
their icon to display as an object on the desktop that is launchable
using double clicking and want their program to exhibit many
behaviors found in the Workplace Shell.  An application that uses a
container may very well want to provide pop-up menu support that is
similar to that provided in the Workplace Shell class libraries
thereby preserving the "look and feel" of a Workplace Shell
application.  The OS/2 Presentation Manager (PM) or Presentation
Manager-based extension tools can be used to provide this support.

      The OS/2 2.X Presentation Manager product provides a
WinPopUpMenu API that is designed to display a pop-up menu.  However,
the previously mentioned dotted box that displays source emphasis of
the corresponding objects is not drawn.  There is no externally
documented way to have PM provide this support.  A non-externally
documented flag can be set on the CM_SETRECORDEMPHASIS message, but
even this does not work in all cases and not at all in details view
of the container.

      This disclosure describes a solution implemented by the Window
Management System (WMS), a Presentation Manager-based extension tool,
which will provide a workaround to PMs lack of support for drawing
the dotted box showing source emphasis for objects corresponding to
the displayed pop-up menu.

      The Window Management System Presentation Manager-based
solution is based on the WM_INITMENU PM message, which occurs when a
menu control is about to become active and the WM_MENUEND PM message,
which occurs when a menu control is about to terminate.  The
following is an outline of the algorithm used when processing the
WM_INITMENU m...