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

Presentation Manager Progress Indicator

IP.com Disclosure Number: IPCOM000121142D
Original Publication Date: 1991-Jul-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 2 page(s) / 77K

Publishing Venue

IBM

Related People

Jefferson, KJ: AUTHOR [+2]

Abstract

This article describes a program module that can be used to graphically display the progress of a process within a Presentation Manager* (PM) program. The progress indicator can be used in one of two ways: 1. Progress can be displayed as a percentage of job complete. 2. Progress can be displayed as a count of items.

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

Presentation Manager Progress Indicator

      This article describes a program module that can be used
to graphically display the progress of a process within a
Presentation Manager* (PM) program.  The progress indicator can be
used in one of two ways:
1.  Progress can be displayed as a percentage of job complete. 2.
Progress can be displayed as a count of items.

      The progress indicator operates in the same way regardless of
the choice of display.  In either case, the calling procedure's
message queue is used to reduce load time, memory overhead and, most
importantly, CPU time.  The graphics routines were also kept simple
so that the progress indicator itself does not become the primary
burden on the system.

      Previously, there was no way to obtain progress information
graphically without significantly slowing the process.  The PM
Progress Indicator provides APIs to allow a Presentation Manager
application to start, update, and dismiss a PM window that
graphically and textually displays the current completion status of
the process.  The count or percentage is updated by the calling
application.  The APIs are as follows:
STARTPRGRSIND           This API allows an application to create and
initialize a progress indicator window.
   HWND StartPrgrsInd(HWND hwndCaller, PSZ szTitle); returns
hwndProgressWindow
UPDATEPRGRSIND          This API allows an application to update the
process completion status.  The application must pass in the
completion percentage.
   BOOL UpdatePrgrsInd(HWND hwndProgressWindow, USHORT usPercent);
DISMISSPRGRSIND         Thi...