custom drag image
custom drag image
- Subject: custom drag image
- From: Saratchandra Kongara <email@hidden>
- Date: Wed, 27 Nov 2002 15:21:17 -0500
Hello,
I like to implement a custom drag image with a snapshot of the selected
rows in a table view. I am not using the built-in mechanism because, I
am using a custom NSTableView subclass for implementing alternating row
colors and the default drag image renders the selected text in white
color (barely visible) sometimes(randomly changes between black and
white).
I think I have to create a custom NSImage object to return from this
method.
- (NSImage*)dragImageForRows:(NSArray*)dragRows
event:(NSEvent*)dragEvent
dragImageOffset:(NSPointPointer)dragImageOffset;
I am not sure how to compose an image from row(s) of text. Any help is
appreciated. Thanks
Regards
Sarat
_______________________________________________
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.