On Nov 28, 2008, at 4:36 AM, Rob Keniger wrote:


On 27/11/2008, at 10:22 PM, rajesh wrote:

but I see a kind of problem with above approach as well.
Since we are updating the TrackingAreas in updateTrackingAreas (removing and adding track areas) , my cursor (which is set to "resizeUpDownCursor" mouseEntered: ) seems to flicker when ever try updating/resizing my view due to the fact that trackAreas are changed every time.

You shouldn't be using -mouseEntered: to set the cursor. You should init the tracking area with the NSTrackingCursorUpdate option and then implement the -cursorUpdate: method.

Sorry my mistake :( . I corrected it. but the cursor still flickers and I think I am missing some great deal in implementing the tracking.


--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to [EMAIL PROTECTED]

~Rajesh
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to