Return to Snippet

Revision: 2628
at March 16, 2007 10:29 by tgunr


Initial Code
- (BOOL)canBecomeKeyWindow;
- (BOOL)canBecomeMainWindow;
- (BOOL)acceptsFirstResponder;

of NSView:


- (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent *)theEvent;

and the style mask during the initialization:


styleMask:(� your app specific other flags� | NSNonactivatingPanelMask)

Initial URL
http://www.macosxguru.net/article.php?story=20070303105049331

Initial Description


Initial Title
How to prevent an application to become active when clicking in a window ?

Initial Tags
osx

Initial Language
Objective C