• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSImageView as a drag source - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: weird undefined types
  • Next by Date: sending mail using message framework
  • Previous by thread: Re: weird undefined types
  • Next by thread: Re: NSImageView as a drag source - how?
  • Index(es):
    • Date
    • Thread