Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse Down/Up and activating a window




On Jun 10, 2006, at 12:01 AM, Mike Kluev wrote:

On Thu, 8 Jun 2006 17:44:55, Rick Mann <email@hidden> wrote:

Because my view handles raw mouse events, a click in it while the
window is not frontmost doesn't result in the window being brought
forward. When determining that the click didn't initiate a drag out
of the window, what's the right for the mouse up to cause the window
to come forward?

SelectWindow.

...but also make sure you're getting the desired result in the case that your app isn't frontmost before the click. I seem to recall that the standard handler (or some other system handler) contains logic to bring your app forward, though I may be thinking of mouse- down rather than mouse-up.


--Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Mouse Down/Up and activating a window (From: Mike Kluev <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.