🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2113

Drag and Drop to App Icon question

#2113
From: Gordie Freedman
Date: Thu, 17 Dec 1992 07:21
17 lines
1342 bytes
I'd like to have an app that accepts a drag and drop operation from something  
in the workspace browser onto the Icon of my running application. I essentially  
want to get the path name of the object dropped.

More clearly, I start up my app, it just displays a menu, no windows, although  
the App icon is displayed. I then drag a file out of the workspace browser onto  
the App icon, and I want the app to get notified and be able to query the  
filename. Of coursse I also want to do this for directories as well. 

Can this be done, or do I need a window (or miniwindow) to drop the file onto?  
Any pointers to coding examples or Digi Lib docs that do this?

Thanks in advance (Nextmail is fine)

-- 
Gordie Freedman gordie@yamanote.dolphin.com   ->   NextMail encouraged
(Disclaimer: Opinions expressed are my own and represent no one else.)
Technical Details
Message-ID: <1992Dec17.072147.15264@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!yamanote!gordie

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!yamanote!gordie
From: gordie@yamanote.dolphin.com (Gordie Freedman)
Subject: Drag and Drop to App Icon question
Message-ID: <1992Dec17.072147.15264@netcom.com>
Sender: gordie@netcom.com
Reply-To: gordie@yamanote.dolphin.com
Organization: Dolphin Software
Date: Thu, 17 Dec 1992 07:21:47 GMT
Lines: 18