Window and all contents as drag destination?
Window and all contents as drag destination?
- Subject: Window and all contents as drag destination?
- From: Chris DeSalvo <email@hidden>
- Date: Tue, 11 Jun 2002 17:25:25 -0700
I'm down to the last little UI issue with my current project.
I have an NSWindow that has an NSTextField and an NSTextView in it. I want
the window and all of its contents to act as a unified drag destination.
I have some code set up as a drag delegate for the window and it all works
perfectly as long as the cursor stays within the window's frame or empty
content area. However, as soon as the cursor moves over either of the text
fields the drag is aborted.
I want to be able to drop objects anywhere in the window. I can't quite get
it to work. Any suggestions? I'm kind of surprised, this seems like a
simple, common action.
Thanks in advance,
Chris
_______________________________________________
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.