Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Tool for Analyzing Pull Down Menus in a Graphical Windowed Environment

IP.com Disclosure Number: IPCOM000103635D
Original Publication Date: 1993-Jan-01
Included in the Prior Art Database: 2005-Mar-18
Document File: 2 page(s) / 61K

Publishing Venue

IBM

Related People

Hock, DJ: AUTHOR

Abstract

Many windowed computing environments contain pull-down menus. This includes IBM's OS/2*. Pull-down menus contain actions or commands. They often have to be analyzed for consistency and for the following of certain semantics. IBM's System Application Architecture*/Common User Access* (SAA*/CUA*) is an example of a standard which contains rules concerning the grammar, structure, and terminology of pull-down menus.

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

Tool for Analyzing Pull Down Menus in a Graphical Windowed Environment

       Many windowed computing environments contain pull-down
menus.  This includes IBM's OS/2*.  Pull-down menus contain actions
or commands.  They often have to be analyzed for consistency and for
the following of certain semantics. IBM's System Application
Architecture*/Common User Access* (SAA*/CUA*) is an example of a
standard which contains rules concerning the grammar, structure, and
terminology of pull-down menus.

      When checking a menu system for rules violations and
consistency, a person must click on each pull-down menu and examine
it.  In most systems, this is further complicated by the fact that
each item in a pull-down menu can have a pull-right menu.  In fact,
pull-right menus can be nested to many levels.  It is very difficult
to get the big picture.

      This tool was implemented to check for SAA/CUA rules, but that
can be generalized to any rules.

      To use the tool, the user clicks on the window whose menu is to
be analyzed.  Using programming interfaces that exist in the
windowing environment, the tool then captures all the menu
information and produces a report.  This is done in OS/2 using the
following code:
hwndTarget - WinWindowFromPoint(HWND_DESKTOP,&ptlPoint,FALSE,NULL);
if (hwndTarget ! = NULL) {
  hwndMenu = WinWindowFromID(hwndTarget, FID_MENU);
  if (hwndMenu ! = NULL) {
     Success = WinQueryWindowProcess(hwndTarget,&Pid,&Tid);
  ...