Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mkristain

macrumors regular
Original poster
hi

please help me to set hand cursor on mouse move on link in NSTableView.

i m adding the link in NSTableView as::
Code:
NSMutableDictionary *dictionary = [NSMutableDictionary
											   dictionary];
			[dictionary setValue:[NSNumber
								  numberWithInt:NSSingleUnderlineStyle]
						  forKey:NSUnderlineStyleAttributeName];
			[dictionary setValue:value_str forKey:NSLinkAttributeName];
			[dictionary setValue:[NSColor colorWithCalibratedRed:0.1 green:
								  0.1 blue:1.0 alpha:1.0] forKey:NSForegroundColorAttributeName];
			[dictionary setValue:[NSCursor openHandCursor]
						  forKey:NSCursorAttributeName];
			
			NSAttributedString *result = [[NSAttributedString alloc]
										  initWithString:value_str attributes:dictionary];
thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.