Inactive Window Receives Mouse Events
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