Browse Prior Art Database

Dragging Marked Data to an Editor Window

IP.com Disclosure Number: IPCOM000107760D
Original Publication Date: 1992-Mar-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 79K

Publishing Venue

IBM

Related People

Eisen, IR: AUTHOR [+2]

Abstract

This article describes a method for dragging marked data to an editor window. Editor users often wish to copy or move data within an editor window, from one editor window to another, or from a non-editor window to an editor window. Current editors require the use of the OS/2* clipboard with menu operations, multiple keystroke combinations, or both, to perform this task. There is currently no way to do this using direct-manipulation methods.

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

Dragging Marked Data to an Editor Window

       This article describes a method for dragging marked data
to an editor window. Editor users often wish to copy or move data
within an editor window, from one editor window to another, or from a
non-editor window to an editor window. Current editors require the
use of the OS/2* clipboard with menu operations, multiple keystroke
combinations, or both, to perform this task.  There is currently no
way to do this using direct-manipulation methods.

      The editor program needs to be changed to allow OS/2 clipboard
functions to be performed with a drag-and-drop operation. It must
perform the following functions:
      1.   The user marks an area on a window using whatever method
the source application allows (e.g., holding mouse button 1 down and
moving the mouse pointer to outline a rectangular area).  The
application then visibly distinguishes the area (e.g., by outlining,
using reverse video, or changing the color of the area). Most current
editor programs have already implemented this function.
      2.   The user then grabs the marked area by pressing (and
holding) mouse button 2 while the mouse pointer is over any part of
the marked area. The source application, when it senses a mouse
button 2 down over a marked area, will do an implicit copy of the
area to the clipboard (after first erasing the clipboard). The source
application then will call the OdsDrag API (or its equivalent),
passing it the rectangle coordinates of the marked area. It will also
set an indicator in the drag control data that implies the dragged
information may be found in the clipboard. The drag routine will
produce a tracking rectangle containing a pointer.
      3.   The user then drags the tracking rectangle to the target
editor window and location on which he wants to drop it. As the
pointer passes ove...