Browse Prior Art Database

Dynamic Sizing for Graphical Control Objects

IP.com Disclosure Number: IPCOM000099746D
Original Publication Date: 1990-Feb-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 1 page(s) / 50K

Publishing Venue

IBM

Related People

Franklin, SM: AUTHOR [+2]

Abstract

This article describes a method for permitting dynamic sizing of graphical objects in an OS/2* Presentation Manager* control. A control under the OS/2 Presentation Manager is a user interface element with a unique programming interface and application function such as a menu or scroll bar. Often, it is desirable to dynamically resize individual objects in a control as a result of user action. Previously, such resizing was only attainable if the individual graphical elements in a control were implemented as separate Presentation Manager windows, allowing an application to resize the objects through the standard window resizing API. This could be achieved only by individually resizing each element in the control. No method exists to resize all elements in a control with one call.

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

Dynamic Sizing for Graphical Control Objects

       This article describes a method for permitting dynamic
sizing of graphical objects in an OS/2*  Presentation Manager*
control. A control under the OS/2 Presentation Manager is a user
interface element with a unique programming interface and application
function such as a menu or scroll bar.  Often, it is desirable to
dynamically resize individual objects in a control as a result of
user action.  Previously, such resizing was only attainable if the
individual graphical elements in a control were implemented as
separate Presentation Manager windows, allowing an application to
resize the objects through the standard window resizing API.  This
could be achieved only by individually resizing each element in the
control.  No method exists to resize all elements in a control with
one call.

      Dynamic sizing for graphical control objects permits this
function by adding a new message to the programming interface for
graphical controls.  This new message permits an application to
specify the desired size for graphical objects in the control.  All
control elements are resized and repositioned in response to this
single message. Regardless of the format of the graphical object,
each object is resized.  These objects may be implemented as separate
windows or, alternatively, as bitmaps or graphical segments.  The
user interface control uses appropriate graphical transforms to
accomplish the resizing.

      A p...