Browse Prior Art Database

Consistent User Interface Control Input

IP.com Disclosure Number: IPCOM000037129D
Original Publication Date: 1989-Nov-01
Included in the Prior Art Database: 2005-Jan-29
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Franklin, SM: AUTHOR [+2]

Abstract

This article describes a method for providing a common input programming interface to graphical controls in the OS/2 Presentation Manager environment. 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. When an application chooses to display a text or graphical item in a user interface control, it must send an input structure to the control. Each control supplied by the operating system requires a unique data structure to be filled by the application as input. For example, if an application wishes to display the same picture in both a menu and a list box, two unique data structures must be filled and sent to the two controls.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 82% of the total text.

Page 1 of 1

Consistent User Interface Control Input

This article describes a method for providing a common input programming interface to graphical controls in the OS/2 Presentation Manager environment. 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. When an application chooses to display a text or graphical item in a user interface control, it must send an input structure to the control. Each control supplied by the operating system requires a unique data structure to be filled by the application as input. For example, if an application wishes to display the same picture in both a menu and a list box, two unique data structures must be filled and sent to the two controls.

Consistent user interface control input provides a solution to this problem by defining a generalized control input structure to be used by all user interface controls. This data structure allows applications to submit text and graphics in all available input formats to all controls developed using the common input structure. By using a consistent user interface control input structure, an application may create a graphical picture, fill the input structure, and send it to a variety of controls. This allows an application to display the same picture in icons, selectable lists, or menus without building separate structures to communicate with each control. Controls that accept the generalized...