dragImageForRowsWithIndexes :::: (NSPointPointer) dragImageOffset?
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