Drag and Drop: Cocoa window in Carbon app...
Drag and Drop: Cocoa window in Carbon app...
- Subject: Drag and Drop: Cocoa window in Carbon app...
- From: Allan Dushan <email@hidden>
- Date: Thu, 19 Feb 2004 15:26:39 -0800
I have a Carbon app that uses a Cocoa bundle. The Carbon app loads the
Cocoa bundle and gets a function pointer to the initialization function
for the Cocoa bundle. Then through the initialization function the
Cocoa bundle displays a Cocoa window with an NSTableView in it.
If I try to drag a file from the finder to the NSTableView and release
the mouse, the file just snaps back. The NSTableView is registered to
receive NSFileContentsPboardType, but the
validateDrop:proposedRow:proposedDropOperation never gets called.
If I load this Cocoa bundle from within a Cocoa app, it works perfect.
I have tried overriding the draggingSourceOperationMaskForLocal:
method, but the method does not get called when I am in the debugger.
Any suggestions would greatly be appreciated.
Allan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.