NSImageView as a drag source - how?
NSImageView as a drag source - how?
- Subject: NSImageView as a drag source - how?
- From: Chris DeSalvo <email@hidden>
- Date: Thu, 06 Jun 2002 12:34:32 -0700
I've created a subclass of NSImageView and added the following selectors:
- (BOOL) acceptsFirstMouse:(NSEvent *)theEvent;
- (NSDragOperation) draggingSourceOperationMaskForLocal:(BOOL)flag;
- (void) mouseDragged:(NSEvent *)theEvent;
But my class still won't act as a drag source. The above selectors never
even get called when I click and drag in that view.
What am I doing wrong?
Thanx,
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.