Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!star.cs.vu.nl!mabdoor@cs.vu.nl From: mabdoor@cs.vu.nl (Doorn van MAB) Newsgroups: comp.os.os2.misc Subject: Drag-and-Drop Message-ID: <9918@star.cs.vu.nl> Date: 13 May 91 07:36:16 GMT Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam Lines: 56 Two weeks ago I posted the following question: > > In OS/2 1.2 & 1.3 it is possible to make a program which supports the > File Manager's 'drag-and-drop'-interface. > > (E.g. the Print Manager and the shareware PMZIP.) > > I want to support this in my programs. > > So you select one or more files in the File Manager, and then drag them to the > window or icon of your own application. > > My question: How can I support this in my own PM-programs ?? > > Thanks, > > Matthijs van Doorn > > Note: I can't find anything about it in the online-Programming Reference > Since then there has been a lot of confusion. For those of you who don't know what drag-and-drop means: Try to ftp PMZIP, a very handy program which is a good demonstration of the drag-and-drop interface. (you can also get it from Blekul) I use OS/2 1.3 with the 1.2 toolkit (IBM) The drag-and-drop is undocumented in this toolkit. But PMZIP works on 1.2, so 1.2 can support it. * MY QUESTION: * Can someone post a little sample program (with source of course) which * demonstrates how to program the drag-and-drop ??? It is so usefull, and would make programs a lot fancier. Think of this: A PM file Browser which support drag-and-drop: You select a file in the FileManager, and drag it to the Browser icon... That would be GREAT !!! (I always want to view a file when I'm working with FileManager, and have to exit it first and reselect the file using the PM Browser list-box.... :-) ) Thanks ! Matthijs van Doorn ________________________________________________________________________ | " To do is to be - Nietsche | /| /| / \ | To be is to do - Kant | mabdoor@cs.vu.nl / | / | / | | Do be do be do - Sinatra " | VU Amsterdam / | / | / | |________________________________|_____________________/___|/___|/_____/