• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
nsbutton mouseEntered event is not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: nsbutton mouseEntered event is not working
      • From: Kevin Cathey <email@hidden>
  • Prev by Date: Re: newbq-why can i not dwld-verify any applications on my iphone?
  • Next by Date: Re: nsbutton mouseEntered event is not working
  • Previous by thread: Can no longer compile for Device SDK: error: IOKit/IOKitLib.h: No such file or directory (amongst other errors)
  • Next by thread: Re: nsbutton mouseEntered event is not working
  • Index(es):
    • Date
    • Thread