There's nothing built into cocoa for this. I wrote KSSelectionBorder to implement a decent chunk of the functionality:
https://github.com/karelia/KSSelectionBorder Sent from my iPad On 19 Aug 2011, at 07:00 PM, Jeff Schriebman <j...@leapfrogproductions.com> wrote: > Hello, > In a new project I am developing in Lion I display a number of items in a > standard view. Each of these items is bounded by a NSRect. I would like to be > able to click on an item, display the rectangle around it and then click on > the right, left, top or bottom of the rectangle and drag it to change its > size. I think that support for the NSCursor Class is pretty much what I need > although this class seems to lack the very useful four corner diagonal resize > cursor icons. I have found some code using google that at least contains the > cursor types resizeLeftCursor, resizeRightCursor, resizeUpCursor and > resizeDownCursor that I can adapt for my purpose but I was wondering if I am > overlooking some class or sample code that implements this functionality. > Thank you. > > Jeff Schriebman > > > > > _______________________________________________ > > 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/cocoadev%40mikeabdullah.net > > This email sent to cocoa...@mikeabdullah.net _______________________________________________ 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 arch...@mail-archive.com