[comp.windows.x] doing drag-n-drop between windows

tomt@maui.coral.COM (Tom Tulinsky) (06/08/91)

I want to do sort of a drag-n-drop between two top level
windows in my Motif application.  One window is a list with some
pushbuttons, the other a "map", a large drawing area.  

-The user can select some objects from the list and push the 
list window's Map button.
- The cursor should change shape and the user can drag it across the
screen to the Map.
- The user positions the cursor and clicks, and a new object is placed
on the map.

I think this should be done with some kind of pointer grab.  Any
advice on implementing it?  Do I have to temporarily add and remove an
event handler to handle the click?

 Coral
     * **	Tom Tulinsky                508 460-6010
  *  **		Coral Network Corporation   fax 508 481-6258
*  ** 		734 Forest St               net: tomt@coral.com
 ***		   Marlboro, MA 01752		
  **		   U S A
*********	   
NETWORKS