While searching for this problem in the archives I also found the
discussion about the 'frozen' message queue problem described in this
[ http://www.cocoabuilder.com/archive/message/cocoa/2003/5/15/81424 ]
thread which I can't solve proberly as well because of the slideback
'table row image' drawn when returning YES from
tableViewWriteRowsToPasteboard:. Is anyone out there who knows a
solution for this by now?
The only solution for the message queue freeze problem that does not
involve using private APIs is to subclass NSTableView, override
-mouseDown:, and rewrite almost all of the functionality of the method.
Which means it'll have to handle selecting rows and sending single and
double-click actions. This breaks NSTableView's periodic event
handling, so -mouseDragged: will be called when the mouse is dragged,
and there you can begin the file-promise drag. If you begin a
file-promise drag in -mouseDragged:, then the message queue will not
Warning: This will probably also break the NSTableView -clickedRow
Someone else in this group also figured out a way of doing this that
doesn't involve overriding -mouseDown:, but does involve dependence on
private AppKit APIs. I don't recommend doing this, but the message
should be in the archives.
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden