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: Coordinate in HandleControlSetCursor and kEventControlSetCursor



On 11/9/05 5:49 PM, Stephen Chu didst favor us with:

> In what coordinate should I pass the mouse location to
> HandleControlSetCursor? The header says nothing other than the name
> localPoint. I assume it's port-local?
> 
> And kEventParamMouseLocation in kEventControlSetCursor is said to
> have view-local coordinate in composited window. But it seems to have
> whatever point value passed to HandleControlSetCursor which is port-
> local. If this is true, that composited or not doesn't make a
> difference then, right?

I believe you need to use view-local coordinates if the window is composited
and port-local coordinates if not.

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: 
 >Coordinate in HandleControlSetCursor and kEventControlSetCursor (From: Stephen Chu <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.