home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18463 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.5 KB

  1. Path: sparky!uunet!stanford.edu!bcm!lib!mdarpi1.mda.uth.tmc.edu!draper
  2. From: draper@odin.mda.uth.tmc.edu (E.J. Draper)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Help: my drag-and-drop appl wont hilight
  5. Message-ID: <7876@lib.tmc.edu>
  6. Date: 16 Nov 1992 17:19:12 GMT
  7. References: <goodill_eric-161192083914@130.252.12.201>
  8. Sender: usenet@lib.tmc.edu
  9. Organization: U.T.M.D. Anderson Cancer Center
  10. Lines: 23
  11. Nntp-Posting-Host: mdarpi1.mda.uth.tmc.edu
  12. X-UserAgent: Nuntius v1.1.1d12
  13. X-XXMessage-ID: <A72D3557A302019A@mdarpi1.mda.uth.tmc.edu>
  14. X-XXDate: Mon, 16 Nov 92 17:24:07 GMT
  15.  
  16. In article <goodill_eric-161192083914@130.252.12.201> Eric Goodill,
  17. goodill_eric@tandem.com writes:
  18. >I'm trying to write my first drag-and-dropable application, and I can't
  19. >even get past square one: I set up a FREF resource for type TEXT in my
  20. >application, cleared its hasBeenInited bit and rebuilt my desktop.  When
  21. I
  22. >drag a file of type TEXT over my app, nothing happens.  I do have a BNDL
  23. >resource and set the hasBNDL bit (though I don't think this is strictly
  24. >needed for drag-and-drop to hilight).  I'm still working on the Apple
  25. event
  26. >code, so I haven't set the acceptsHighLevelEvents (or whatever it's
  27. called)
  28. >flag yet.  But again, I don't think that needed either.  What am I
  29. missing
  30. >or doing wrong?
  31.  
  32. Try rebuilding your desktop.  You seem to be doing everything properly...
  33.  
  34.  
  35.       |E|J-  ED DRAPER
  36.  rEpar|D|<-  Radiologic/Pathologic Institute
  37.              The University of Texas M.D. Anderson Cancer Center
  38.              draper@odin.mda.uth.tmc.edu
  39.