I have created a custom NSWindow using:
self = [super initWithContentRect:contentRect styleMask:8 backing:bufferingType defer:flag];
Which handles resizing fine. However, it doesn't change the cursor when i hover over the borders. I could do this myself but i cannot create a trackingRect which goes beyond the edges of the window.
Any ideas how i could manage this would be great.
Thanks, Ben
-setMinSize:and/or-setMaxSize:or their "Content" variants? Does your delegate implement-windowWillResize:toSize:? According to the Lion AppKit release notes, there's no new API for the edge resizing and the above are the only factors which affect it. Also, you should use NSResizableWindowMask instead of the literal 8. In addition to being better practice, it would have made your question easier to follow. - Ken Thomases-setMinSize:but i am not using-windowWillResize:toSize:. Your absolutely right about the NSResizableWindowMask, thanks for responding. - BenJacob-setShowsResizeIndicator:withYES. - Ken Thomases