hi
please help me to set hand cursor on mouse move on link in NSTableView.
i m adding the link in NSTableView as::
thanks in advance.
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];