Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!ora!bloom-beacon!dont-send-mail-to-path-lines From: tomt@maui.coral.COM (Tom Tulinsky) Newsgroups: comp.windows.x Subject: doing drag-n-drop between windows Message-ID: <9106071859.AA07276@maui.coral.com> Date: 7 Jun 91 18:59:36 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 24 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