• 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
dragImageForRowsWithIndexes :::: (NSPointPointer) dragImageOffset?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dragImageForRowsWithIndexes :::: (NSPointPointer) dragImageOffset?


  • Subject: dragImageForRowsWithIndexes :::: (NSPointPointer) dragImageOffset?
  • From: Richard Salvatierra <email@hidden>
  • Date: Tue, 11 Oct 2005 09:28:59 -0400

Could someone explain/show how to use an NSPointPointer. I am trying to offset this drag image so that the mouse position is the same over the row/columns as it is when the dragImage is displayed. I have used:

NSImage *dragImage = [self dragImageForRowsWithIndexes: [[NSIndexSet alloc] initWithIndex: mouseOverRow]
tableColumns: [self tableColumns]
event: event
offset: (NSPointPointer)dragImageOffset];


[self dragImage:dragImage at:pt offset:NSMakeSize(0,0) event:event pasteboard:pb source:self slideBack:YES];

Thanks,
Rich
_______________________________________________
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


  • Prev by Date: AppKit crash: dirIsRootUnsafe
  • Next by Date: Re: NSAllowsNullArgument undefined?
  • Previous by thread: Re: AppKit crash: dirIsRootUnsafe
  • Next by thread: NSTimer won't stop
  • Index(es):
    • Date
    • Thread