On Oct 4, 2012, at 3:17 PM, Gordon Apple <[email protected]> wrote:

> This is essentially the DragMouseBoxView (simple subclass of NSView) from
> the AVScreenShack sample.  It is set to acceptFirstResponder and
> acceptFirstMouseClick.

You may need to override -canBecomeKeyWindow in your window to return YES — if 
it doesn’t have a regular title bar (NSBorderlessWindowMask) it won’t become 
key by default.

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to