• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOpenPanel in Cocoa app won't receive drag n drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel in Cocoa app won't receive drag n drop


  • Subject: NSOpenPanel in Cocoa app won't receive drag n drop
  • From: Stefan Werner <email@hidden>
  • Date: Sun, 11 Feb 2007 10:55:15 +0100

Hi,

as the subject says, I'm using an NSOpenPanel in my Carbon application. So far so good, with the exception that it does not receive or respond to drag and drop events: I can drop any folder on it, but it won't change to that folder by itself.

I'm using it in a very straightforward way: I call NSApplicationLoad (), I have an AutorelasePool in place and I create and run the panel with simple NSOpenPanel* open = [NSOpenPanel openPanel]; and [open runModal]; calls.

Is there anything I'm missing or is this just one part where the Cocoa/Carbon integration isn't perfect yet? Is there a way I can fix this or must I go back to using Carbon Navigation Services?

Thanks,
Stefan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOpenPanel in Cocoa app won't receive drag n drop
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: NSURLConnection crash
  • Next by Date: Re: Binding a Popup to an Array of Images?
  • Previous by thread: Re: NSURLConnection crash
  • Next by thread: Re: NSOpenPanel in Cocoa app won't receive drag n drop
  • Index(es):
    • Date
    • Thread