We Recommend

Programming in Objective-C Programming in Objective-C
Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming. The book makes no assumption about prior experience with object-oriented programming languages or with the C language (upon which Objective-C is based). And because of this, both novice and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C.


Posted By

tgunr on 03/16/07


Tagged

cocoa osx


Versions (?)


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


Published in: Objective C 


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

  1. - (BOOL)canBecomeKeyWindow;
  2. - (BOOL)canBecomeMainWindow;
  3. - (BOOL)acceptsFirstResponder;
  4.  
  5. of NSView:
  6.  
  7.  
  8. - (BOOL)shouldDelayWindowOrderingForEvent:(NSEvent *)theEvent;
  9.  
  10. and the style mask during the initialization:
  11.  
  12.  
  13. styleMask:(� your app specific other flags� | NSNonactivatingPanelMask)

Report this snippet 

You need to login to post a comment.