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 3:13 AM, Rick Mann wrote:


On Jun 10, 2006, at 00:01 , 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.

Ok. I didn't know if it would be better to pass the event on up.

The first thing I'd try is returning eventNotHandledErr to see if that results in the desired behavior. If not, then you can try doing it yourself.


Larry
_______________________________________________
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>)
 >Re: Mouse Down/Up and activating a window (From: Rick Mann <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.