FROM : Saratchandra Kongara
DATE : Wed Nov 27 21:21:17 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Wed Nov 27 21:21:17 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Saratchandra Konga… | Nov 27, 21:21 | |
| Warren.Burton | Nov 28, 11:11 |






Cocoa mail archive

