key window makes system beep
key window makes system beep
- Subject: key window makes system beep
- From: d2kagw <email@hidden>
- Date: Mon, 17 Apr 2006 15:35:29 +1000
Hey there everyone...
im pulling my hair out here.
i've built an app that creates different types of windows for the
user based on their preferences.
the whole creation thing is going great, i've done oodles of searches
on the web, and found most of what I've needed to build the windows
and drop in NSViews etc...
the only issue is that whenever I create a window, [ using
initWithContentRect: ], drop in the nsview [setContentView:] and
make key [makeKeyAndOrderFront:] the window makes system noises
[ i.e. the ding that your mac makes when you try doing something that
can't be done ] whenever you strike the keyboard !?
Initially I thought it had something to do with the mask, but im
using both NSResizableWindowMask and NSBorderlessWindowMask to create
the windows, and yes, I've sub-classed NSWindow and made
canBecomeKeyWindow return YES, but alas, still no key input !?
any ideas? - Im too young to go bald :D
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden