NSOpenPanel in Cocoa app won't receive drag n drop
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