• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Window's controls receive mouse-down events, but the win stay unactive. How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window's controls receive mouse-down events, but the win stay unactive. How?


  • Subject: Window's controls receive mouse-down events, but the win stay unactive. How?
  • From: cocoa nick <email@hidden>
  • Date: Tue, 27 Jul 2010 00:51:26 +0300

Hello
How could i implement such a window?
Delving in documentation, i have found that the method
-(BOOL)acceptsFirstMouse (of NSView) should return YES and the mouse down
events will be sent directly to the control first (but the window still
becomes active afterwards). Is there a way not to let window (and not to let
my application!) to become active and steal focus from the current another
application?
Thanks!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Screen pixels changed notification?
  • Next by Date: How to fastly get the active window's title?
  • Previous by thread: Re: Screen pixels changed notification?
  • Next by thread: How to fastly get the active window's title?
  • Index(es):
    • Date
    • Thread