Really weird problem

Joined
Sep 14, 2008
Messages
18
Reaction score
0
Points
1
I have a custom view and in awakeFromNib I explicitly tell it

Code:
 [[self window] makeFirstResponder:self];

[[self window] setAcceptsMouseMovedEvents:YES];

I've tried putting NSLog's at several locations and they all report 1, saying yes; the window DOES accept mouse moved events...

However... it's not accepting mouse moved events...

NSLog's inside mouseMoved: are not even showing up.

This all happened when I changed the class of the object from NSView to NSControl. But I did change it back from a back up of the working class files (to make extra sure). I wired everything back up right in interface builder. I'm really mad because I just got the thing to work perfectly. It still works but the essential element of the cursor changing to open hand etc. is missing.

Anyone have a clue?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top