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

Enabling of Controls for Participation in Direct Manipulation

IP.com Disclosure Number: IPCOM000102346D
Original Publication Date: 1990-Nov-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 2 page(s) / 59K

Publishing Venue

IBM

Related People

Black, R: AUTHOR [+3]

Abstract

This article describes a function that enables a Presentation Manager* control to participate in direct manipulation operations. Applications need the capability to drag items that are Presentation Manager or user-written controls. In addition, controls may have objects dragged over them or dropped on them. These controls may have been originally coded without any idea they would participate in a direct manipulation operation. Thus, they are unprepared to handle the messages required by the IBM OV/2 Office Direct Manipulation protocol.

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

Enabling of Controls for Participation in Direct Manipulation

       This article describes a function that enables a
Presentation Manager* control to participate in direct manipulation
operations.  Applications need the capability to drag items that are
Presentation Manager or user-written controls.  In addition, controls
may have objects dragged over them or dropped on them.  These
controls may have been originally coded without any idea they would
participate in a direct manipulation operation.  Thus, they are
unprepared to handle the messages required by the IBM OV/2 Office
Direct Manipulation protocol.

      Dialog Services provides a function, DsRegisterDragClass, that
will allow an application to install a subclassed direct manipulation
procedure for any Presentation Manager or user controls.  This
function will be invoked after the registration of the user control
(Presentation Manager controls are already registered).  It allows
the application to supply another class name instead of the original
class (i.e., the application may substitute "Dentry" for
WC_ENTRYFIELD).  The new Direct Manipulation enabled class may be
used in a WinCreateWindow call or in a Resource file.

      This new draggable class, will handle all direct manipulation
and WM_BUTTON2DOWN messages.  All other messages will be passed on to
the original class's window procedure (the DsRegisterDragClass
routine saved the original class window procedure under its own class
name i...