nsbutton mouseEntered event is not working
nsbutton mouseEntered event is not working
- Subject: nsbutton mouseEntered event is not working
- From: "MAnish Billore" <email@hidden>
- Date: Tue, 19 Aug 2008 19:14:42 +0530
Hi,
I am subclassing NSButton class and overriding mouseEntered event and changing the cursor type but this event is not invoking when mouse is entering inside button.
i am attaching my code also please have look.
- (void)awakeFromNib
{
[[self window] setAcceptsMouseMovedEvents: YES];
}
- (void)mouseEntered:(NSEvent *)theEvent
{
NSLog(@"mouseEntered ");
[[NSCursor closedHandCursor] set];
}
Thanks
Bill Manish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden