That seems to be the only solution for my case....
I started with the same and was wondering if I was doing some redundant work.

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.

~Rajesh

On Nov 27, 2008, at 12:44 PM, Rob Keniger wrote:


On 27/11/2008, at 7:17 PM, rajesh wrote:

I should have made my query bit clear , I need the cursor updates only for certain portion of the visible area ( only horizontal gaps , its like horizontal split view but no split view in use ) . but I can use the above technique for something else I am working on , thanks :)

I think I am still hanging with same problem...


In the -updateTrackingAreas method of NSView, you must remove the existing tracking areas using -removeTrackingArea:, create new ones in the correct positions and then add them using -addTrackingArea:.

--
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]

_______________________________________________

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