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: Control Part during kEventControlClick




On Nov 30, 2004, at 12:26 PM, Darrin Cardani wrote:

Where in the docs can I find more information about the differences between which APIs should be used with compositing vs. non-compositing windows?

<http://developer.apple.com/technotes/tn2002/tn2074.html> has a list of comparable APIs between the old Control Manager APIs and the new HIView APIs. In general, most Control Manager APIs continue to work in compositing windows, but with the general change that where you passed port-local coordinates in a non-compositing window, you need to pass view-local coordinates in a compositing window. FindControlUnderMouse is known to have a bug in compositing windows that causes it to not return a valid part code (I fixed this for Tiger), but we do in general recommend HIViewGetViewForMouseEvent, HIViewGetSubviewHit, and HIViewGetPartHit as replacements for use in compositing windows.


-eric

_______________________________________________
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: 
 >Control Part during kEventControlClick (From: Darrin Cardani <email@hidden>)
 >Re: Control Part during kEventControlClick (From: Eric Schlegel <email@hidden>)
 >Re: Control Part during kEventControlClick (From: Darrin Cardani <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.