• 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
Inactive Window Receives Mouse Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inactive Window Receives Mouse Events


  • Subject: Inactive Window Receives Mouse Events
  • From: Richard Somers <email@hidden>
  • Date: Fri, 10 Sep 2010 23:50:19 -0600

I just noticed that when you hold down the command key over an inactive window and click and drag the mouse, the window will receive mouse events. You can move the window, use the tool bar, select text, interact with views, etc. Almost what ever you can do when the window is active with a mouse, you can also do when the window is inactive using the command key and the mouse. (Mac OS 10.5.8) If you have never done this you should try it. It works in Mail, Safari, Pages, etc.

The only reference in the documentation to this functionality that I can find is in the Apple Human Interface Guidelines which says "Pressing the Command key while dragging an inactive window moves the window but does not make it active." It mentions nothing about the entire window and all of its contents also receiving mouse events.

I have a custom view where this behavior is undesirable. How can I disable this view from receiving mouse events when the window is inactive and the user uses the command key with the mouse?

--Richard

_______________________________________________

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


  • Follow-Ups:
    • Re: Inactive Window Receives Mouse Events
      • From: Quincey Morris <email@hidden>
    • Re: Inactive Window Receives Mouse Events
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: TDD and Cocoa
  • Next by Date: Re: Inactive Window Receives Mouse Events
  • Previous by thread: TDD and Cocoa
  • Next by thread: Re: Inactive Window Receives Mouse Events
  • Index(es):
    • Date
    • Thread