New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Really weird problem


Post Reply New Thread Subscribe

 
Thread Tools
Meds

 
Member Since: Sep 14, 2008
Posts: 18
Meds is on a distinguished road

Meds is offline
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?
QUOTE Thanks

Post Reply New Thread Subscribe


« Make custom view send action message. | Help with XCode and Fortran »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
G3 Wallstreet: Weird problem esquivel Apple Notebooks 4 09-25-2007 12:44 AM
weird finder problem at login MKnight OS X - Operating System 0 09-17-2007 03:17 PM
Weird Problem mrcartman91 Apple Notebooks 4 09-15-2007 06:04 PM
Weird Battery Problem DonVerduras Apple Notebooks 3 09-11-2007 11:40 PM
Weird iPod Problem (4th Gen/20gb) wick98 iPod Hardware and Accessories 1 09-28-2006 12:27 AM

All times are GMT -4. The time now is 07:34 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?